Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted comment to target post
-
DeliveryPayload stored unsanitized in database
-
ExploitVictim loads post with sc_buy_button shortcode
-
ExecutioninnerHTML sink in sc-cart-loader executes script
-
ImpactHijack session or redirect victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a very specific server-side condition: the injected comment must be rendered on a WordPress post/page that loads the SureCart surecart-components runtime (for example, a page using the [sc_buy_button] shortcode) AND that page must NOT contain an sc-checkout element - this combination is what routes the unsanitized comment into the vulnerable innerHTML sink in sc-cart-loader. The attacker side is unauthenticated (PR:N), but successful code execution additionally depends on a victim visiting the affected page and on the site actually using the qualifying shortcode layout. Sites that do not embed SureCart buy-button shortcodes on comment-bearing posts, or whose affected pages include an sc-checkout element, are not exploitable, which significantly limits the real-world attack surface despite the unauthenticated entry point. |
| Impact | This is a stored XSS (CWE-79) in the SureCart WordPress plugin with an input CVSS of 7.2 and a vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N) indicating a network-reachable, unauthenticated, scope-changing flaw. The PR:N metric confirms unauthenticated injection, which raises concern because any visitor can submit the malicious 'comment' value. However, the real-world risk is materially lower than the raw score suggests because execution is gated by specific, non-default conditions described by the vendor: the comment must land on a post that loads the surecart-components runtime (e.g. via an [sc_buy_button] shortcode) AND that page must contain no sc-checkout element, so that the vulnerable innerHTML sink in sc-cart-loader is reached. The input vector encodes AC:L, but these stacked site-configuration prerequisites arguably warrant AC:H, and reliable execution depends on a victim subsequently visiting the affected page (favoring UI:R over the input's UI:N) - this is the main conflict between the stated vector and the description. No EPSS score, no CISA KEV listing, and no public exploit code are present in the provided data; the finding comes from Wordfence (a credible WordPress-vulnerability source). Net assessment: a legitimate stored-XSS issue worth patching, but not a widespread drive-by threat - exploitability is conditional on store configuration rather than universal, so treat it as moderate priority rather than emergency. |
| Exploit ScenarioDerived | An unauthenticated attacker submits a comment containing a crafted script payload to a SureCart-enabled WordPress site. If the comment is displayed on a post that loads the surecart-components runtime via an [sc_buy_button] shortcode and lacks an sc-checkout element, the sc-cart-loader's innerHTML sink renders the payload, and the script executes in the browser of any user who later views that page. No public exploit code is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 16, 2026
Stored cross-site scripting in the SureCart plugin for WordPress (versions up to and including 4.9.4) allows unauthenticated attackers to inject arbitrary web scripts via the 'comment' parameter, which execute when a victim visits a page that loads the SureCart components runtime and lacks an sc-checkout element. While the entry point is unauthenticated, successful exploitation requires a specific combination of page layout (e.g., a post with a [sc_buy_button] shortcode and no sc-checkout element) and victim interaction, significantly limiting the real-world attack surface. No public exploit identified at time of analysis.
RemediationAI
Update the SureCart plugin to a version later than 4.9.4. Upstream fix available (changeset 3742278); released patched version not independently confirmed. As a temporary mitigation, restrict the ability to post comments on pages that load the SureCart components runtime, for example by disabling comments on posts/pages containing [sc_buy_button] shortcodes or requiring authentication for commenting. Additionally, ensure that affected pages include an sc-checkout element, as this prevents the vulnerable innerHTML sink from being triggered, though this may interfere with intended page functionality. A WordPress security plugin that sanitizes comment output could also reduce risk. Refer to the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/4aa247ff-fbc3-48e3-8e90-e3f8cdf5d97f?source=cve for updates.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a stored cross-site scripting (CWE-79) in the SureCart WordPress plugin, stemming from insufficient input sanitization and output escaping of the 'comment' parameter. The issue is located in the sc-cart-loader component (sc-cart-loader.entry.js) where unsanitized comment content is passed to an innerHTML sink. This sink is only triggered when the surecart-components runtime is loaded on a page (e.g., via a [sc_buy_button] shortcode) and the page does not contain an sc-checkout element. The plugin's kses.json file (line 216) and BlockServiceProvider.php (lines 100 and 152) are referenced in the vulnerability report, indicating improper handling of comment data within the plugin's block library and permitted HTML tags. The CPE for the affected product is cpe:2.3:a:surecart:surecart_-_ecommerce_made_easy_for_selling_physical_products,_digital_downloads,_subscriptions,_donations,_&_payments:*:*:*:*:*:*:*:*.
Know when Surecart gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Unauthenticated network injection (PR:N/AV:N) but execution needs a non-default shortcode layout (AC:H) and a victim page visit (UI:R); browser-context script execution crosses scope (S:C) with limited C/I impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The SureCart - Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 4.9.4 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. Successful execution requires the affected comment to appear on a post that loads the surecart-components runtime (e.g. via a [sc_buy_button] shortcode) and contains no sc-checkout element, as these conditions trigger the innerHTML sink in sc-cart-loader.
Executive ViewAI
Organizations using the SureCart plugin for WordPress at versions up to and including 4.9.4 face a high-severity stored cross-site scripting flaw that can execute attacker-injected scripts in visitors' browsers under specific page configurations. No public exploit identified at time of analysis, and no vendor-released patch identified at time of analysis, so risk is currently constrained but requires immediate inventory and interim mitigation. Leadership should care because unresolved browser-based script execution on customer-facing e-commerce sites can erode customer trust and create reputational exposure.
Interim mitigations include disabling comments or enforcing strict comment moderation, removing [sc_buy_button] shortcodes from pages that lack an sc-checkout element, deploying WAF rules to filter malicious comment payloads, and considering temporary deactivation of SureCart until a vendor patch is released.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Account takeover via insecure direct object reference in the SureCart WordPress plugin (versions 4.0.0 through 4.6.2) al
Unauthenticated account registration bypass in SureCart WordPress plugin before 4.7.0 allows remote attackers to create
SQL injection in SureCart WordPress plugin versions prior to 4.2.1 allows authenticated high-privileged attackers to ext
PHP object injection in the Brainstorm Force SureCart WordPress plugin (all versions through 4.9.3) lets a low-privilege
Account takeover in the SureCart e-commerce plugin for WordPress (versions ≤ 4.2.3) lets unauthenticated attackers overw
Privilege escalation in the SureCart WordPress plugin through version 4.7.2 allows an authenticated user who holds the l
Reflected cross-site scripting in the Brainstorm Force SureCart WordPress e-commerce plugin (all versions through 4.9.3)
Missing authorization controls in SureCart WordPress plugin versions up to 4.0.2 allow authenticated attackers to access
Stored cross-site scripting in the SureCart WordPress plugin (Brainstorm Force / SureCart) through version 4.9.4 allows
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in SureCart al
Broken access control in the SureCart WordPress e-commerce plugin through version 4.6.2 permits unauthenticated remote a
Auth. Rated medium severity (CVSS 4.8), this vulnerability is remotely exploitable, low attack complexity. No vendor pat
EUVD-2026-102822
GHSA-ppfv-pcr2-7cv3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB