CVE-2026-8880

RomanCart Ecommerce <= 2.0.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes

Published Jun 9, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The RomanCart Ecommerce plugin for WordPress is vulnerable to a stored cross‑site scripting flaw caused by insufficient sanitization and escaping of user supplied attributes in the romancart_button shortcode. Authenticated users with contributor or higher privileges can inject arbitrary JavaScript into a button’s attributes such as blclass. Whenever a visitor loads a page containing that button, the injected script runs in their browser, allowing session hijacking, credential theft, or defacement of the site.

Affected Systems

WordPress sites employing the RomanCart Ecommerce plugin, version 2.0.8 or earlier, are affected. Any user who can add or edit the romancart_button shortcode—contributors and above—can exploit this flaw.

Risk and Exploitability

The flaw carries a CVSS score of 6.4, indicating moderate severity. Although the EPSS score is not available and the vulnerability is not listed in CISA’s KEV catalog, the need for authenticated access limits the threat to sites with exposed contributor role permissions. The stored XSS payload can hijack user sessions and exfiltrate data, making the risk significant for any site users.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the RomanCart Ecommerce plugin to a version that fixes the XSS vulnerability, or uninstall the plugin if no update is available.
  • If the update cannot be applied immediately, remove or disable the romancart_button shortcode functionality for users with contributor or higher roles, or restrict those roles from adding such content.
  • Implement a robust Content Security Policy that disallows inline scripts and only permits trusted external scripts to mitigate the impact of any remaining XSS payloads.

Generated by OpenCVE AI on June 9, 2026 at 06:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Romancartsupport
Romancartsupport romancart Ecommerce
Wordpress
Wordpress wordpress
Vendors & Products Romancartsupport
Romancartsupport romancart Ecommerce
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description 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.
Title RomanCart Ecommerce <= 2.0.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Jun 9, 2026, 3:13 PM
Reserved
May 18, 2026, 8:31 PM
Status
Deferred
Published
Jun 9, 2026, 5:16 AM
Modified
Jul 23, 2026, 8:10 AM