Security readout for executives and security teams
Plain-English summary
This flaw lets an unauthenticated visitor plant JavaScript through imported plugin settings. The code would run later when an administrator opens the plugin settings area. For an online store, that creates risk of admin-session compromise, settings tampering, or data exposure, but the sources do not show confirmed active exploitation.
Executive priority
Treat this as a moderate-priority e-commerce platform issue. Prioritize stores using the affected plugin because compromise requires no attacker account and execution occurs in an administrator context. Escalate if suspicious settings changes or admin-page script execution are found.
Technical view
CVE-2021-4372 is stored cross-site scripting in RightPress WooCommerce Dynamic Pricing and Discounts through version 2.4.1. The issue is missing sanitization in settings imported through the import() function. CVSS is 6.5, CWE-79, with network attack vector and no privileges required.
Likely exposure
Exposure is likely limited to WordPress/WooCommerce sites running WooCommerce Dynamic Pricing and Discounts version 2.4.1 or earlier, especially public stores where unauthenticated users can reach the vulnerable import behavior.
Exploitation context
The provided sources describe unauthenticated stored XSS that triggers when an administrator visits the settings area. CISA KEV status is false, and the bundle provides no evidence of active exploitation or public weaponization.
Researcher notes
Evidence supports stored XSS from unsanitized imported settings, not remote code execution. The source bundle does not name a specific fixed version, exploit campaign, or complete affected-version metadata beyond <=2.4.1, so remediation should be tied to vendor-confirmed releases.
Mitigation direction
- Upgrade WooCommerce Dynamic Pricing and Discounts beyond 2.4.1 according to vendor guidance.
- If a fixed update cannot be confirmed, disable the plugin until guidance is available.
- Review imported plugin settings for unexpected script content or unauthorized changes.
- Limit WordPress administrator access to trusted users and hardened admin workstations.
- Check Wordfence and vendor advisories for any additional remediation details.
Validation and detection
- Inventory WordPress sites for the plugin name and installed version.
- Confirm no production site is running version 2.4.1 or earlier.
- Review plugin settings and imported configuration for suspicious JavaScript.
- Check web logs for unusual unauthenticated requests involving plugin settings import behavior.
- Verify administrator settings pages load cleanly after remediation.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
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-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 lookupCVE-2021-4372 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 6.5 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
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.
CVSS vector scores
1 official scoreWe 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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N3.92.5Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
6.5MediumVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
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.
