LiveActive security incident?Get immediate response
CVE Record

CVE-2023-3158: Mail Control <= 0.2.8 - Unauthenticated Stored Cross-Site Scripting via Email Subject

The Mail Control plugin for WordPress is vulnerable to Stored Cross-Site Scripting via an email subject in versions up to, and including, 0.2.8 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

HighCVSS 7.2Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This WordPress plugin flaw lets an unauthenticated attacker store malicious script through an email subject. The script can run later when a user opens the affected plugin page. For businesses, the risk is compromise of WordPress administrative sessions or sensitive page data on sites using Mail Control versions up to 0.2.8.

Executive priority

Prioritize remediation on any production WordPress site using this plugin. The issue is not shown as actively exploited in the provided sources, but unauthenticated stored XSS can create real account and data exposure risk when administrators view affected pages.

Technical view

CVE-2023-3158 is stored cross-site scripting in Mail Control <= 0.2.8. The reported cause is insufficient input sanitization and output escaping for email subject data. The CVSS 3.1 score is 7.2 with network attack vector, low complexity, no privileges required, changed scope, and low confidentiality and integrity impact.

Likely exposure

Exposure is limited to WordPress sites running the Mail Control plugin at versions up to and including 0.2.8. Risk is higher where unauthenticated users can influence email subjects that are later displayed in plugin pages or logs.

Exploitation context

The source bundle says unauthenticated attackers can inject scripts that execute when a user accesses an injected page. CISA KEV is false, and the provided sources do not state known active exploitation or public exploit use.

Researcher notes

The evidence identifies CWE-79 and points to WordPress plugin code and a changeset, but the bundle does not name a specific fixed version. Avoid assuming exploit status or patch level beyond versions up to 0.2.8 being vulnerable.

Mitigation direction

  • Inventory WordPress sites for the Mail Control plugin and version.
  • If version is <= 0.2.8, follow vendor guidance for updating or remediation.
  • Disable or remove the plugin where no trusted fixed release is available.
  • Restrict administrative access to WordPress while remediation is pending.
  • Review plugin pages that display email subjects for proper output escaping.

Validation and detection

  • Confirm whether Mail Control is installed on each WordPress instance.
  • Verify installed versions are not up to and including 0.2.8.
  • Review email log records for unusual script-like content in subject fields.
  • Confirm remediation escapes stored subject content before page rendering.
  • Check security monitoring for suspicious WordPress admin page activity.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2023-3158 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.2 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.2CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N3.92.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.2High
CVSS 3.1 vector shape for CVE-2023-3158Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
rahalaboulfethMail Control – Email Customizer, SMTP Deliverability, logging, open and click Tracking0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.