CVE-2021-47926: WordPress Contact Form to Email 1.3.24 Stored XSS
Contact Form to Email 1.3.24 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicious scripts by creating forms with script tags in the form name field. Attackers can craft form names containing JavaScript code that executes when other logged-in users access the form management page, enabling session hijacking or credential theft.
Security readout for executives and security teams
Plain-English summary
CVE-2021-47926 affects the WordPress Contact Form to Email plugin version 1.3.24. A logged-in attacker can save script content in a form name, causing it to run when another logged-in user opens the form management page. The main business risk is administrator account compromise through stored cross-site scripting.
Executive priority
Treat this as a moderate-priority WordPress cleanup item. It is not marked as known exploited, but it can put administrator sessions and site integrity at risk if lower-trust users have plugin access.
Technical view
The issue is CWE-79 stored XSS in the form name field of Contact Form to Email 1.3.24. CVSS 3.1 is 6.4 with network access, low complexity, low privileges, no user interaction, changed scope, and low confidentiality and integrity impact. Sources do not identify a fixed version.
Likely exposure
Exposure is limited to WordPress sites running Contact Form to Email 1.3.24 where an authenticated user can create or edit forms. Public-facing sites are more relevant if they allow multiple lower-privileged users into WordPress administration or plugin workflows.
Exploitation context
The source bundle includes an ExploitDB reference, so public exploit information exists. KEV is false, and the provided sources do not state active exploitation in the wild. The attack still requires authenticated access before stored script execution can affect other logged-in users.
Researcher notes
Evidence supports Contact Form to Email 1.3.24 only. The bundle does not provide patched-version, affected-version-range, or active-exploitation evidence. Avoid expanding scope beyond the named plugin version unless vendor or CVE data confirms it.
Mitigation direction
Inventory WordPress sites for Contact Form to Email version 1.3.24.
Check vendor guidance for a fixed version or official remediation.
Update, disable, or remove the plugin if no supported fix is available.
Restrict form management access to trusted administrators only.
Review existing form names for unexpected script or markup content.
Validation and detection
Confirm plugin name and version from WordPress administration or asset inventory.
Identify which roles can create or edit Contact Form to Email forms.
Review form records for suspicious script tags or encoded markup.
Check WordPress audit logs for recent form creation or edits.
Verify vendor advisories before declaring remediation complete.
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.
The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
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.
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.
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.