SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments <= 4.13.2 - Reflected Cross-Site Scripting via 'currency' Parameter

Medium 6.1 CWE-79Fixed in 4.14.0
ID
WPSEC-2026-4062
Plugin
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments (surecart)
Affected
all versions before 4.14.0
Remediation
Update to 4.14.0 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-27
Attack surface
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments on WPSec AttackSurface
Fix released
Published

Description

The SureCart plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'currency' parameter in all versions up to, and including, 4.13.2. This is due to insufficient input sanitization: the value was stored unvalidated in the sc_current_currency cookie, and after only sanitize_text_field() it was added with add_query_arg() to the home URL and to post, page and term permalinks, so quote characters reached links that are printed without URL escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0