{
 "id": "WPSEC-2026-4062",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4062/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4062/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4062/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4062.json",
 "title": "SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments <= 4.13.2 - Reflected Cross-Site Scripting via 'currency' Parameter",
 "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.",
 "plugin": {
  "slug": "surecart",
  "name": "SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments",
  "full_name": "SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments",
  "wordpress_org": "https://wordpress.org/plugins/surecart/",
  "advisories_url": "https://wpsec.com/vuln/plugin/surecart/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/surecart"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.1,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "4.14.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 4.14.0"
  ]
 },
 "introduced_in": null,
 "fixed_in": "4.14.0",
 "remediation": "Update to 4.14.0 or later.",
 "fix_released": "2026-11-26T06:14:34+00:00",
 "published": "2026-11-27T06:46:38+00:00",
 "updated": "2026-11-26T12:03:57.734626+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4062/",
  "https://plugins.svn.wordpress.org/surecart/tags/4.14.0/",
  "https://wordpress.org/plugins/surecart/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/surecart",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-27"
 }
}