RomanCart Ecommerce Stored Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in the RomanCart Ecommerce plugin for WordPress, affecting versions through 2.0.8. The issue arises from inadequate input sanitization and output escaping on user-supplied attributes within the 'romancart_button' shortcode. This vulnerability allows authenticated attackers with contributor-level access or higher to inject arbitrary scripts into pages, which are executed when users access the affected page.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the page.

Reproduction

To reproduce this vulnerability, an authenticated user with contributor-level access or higher can use the 'romancart_button' shortcode and include a malicious script in the 'blclass' attribute or other attributes. Once the shortcode is saved, the injected script will execute when the page is viewed.

Added: Jun 9, 2026, 5:52 AM
Updated: Jun 9, 2026, 5:52 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
6.0
remediation
0.0
relevance
9.3
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.