{
 "id": "WPSEC-2026-0659",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0659/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0659/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0659/index.md",
 "title": "Donation Thermometer <= 2.2.11 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'colorramp' Shortcode Attribute",
 "description": "The Donation Thermometer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'colorramp' attribute of the [thermometer] shortcode in versions 2.2.9 up to, and including, 2.2.11 due to insufficient input sanitization and output escaping. Each colour was output without escaping into an attribute of the thermometer legend. 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.",
 "plugin": {
  "slug": "donation-thermometer",
  "name": "Donation Thermometer",
  "full_name": "Donation Thermometer",
  "wordpress_org": "https://wordpress.org/plugins/donation-thermometer/",
  "advisories_url": "https://wpsec.com/vuln/plugin/donation-thermometer/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/donation-thermometer"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "2.2.9",
    "from_inclusive": true,
    "to": "2.3.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 2.2.9 before 2.3.0"
  ]
 },
 "introduced_in": "2.2.9",
 "fixed_in": "2.3.0",
 "remediation": "Update to 2.3.0 or later.",
 "fix_released": "2026-10-07T14:16:20+00:00",
 "published": "2026-10-08T14:54:41+00:00",
 "updated": "2026-10-07T18:51:19.098772+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0659/",
  "https://plugins.svn.wordpress.org/donation-thermometer/tags/2.3.0/",
  "https://wordpress.org/plugins/donation-thermometer/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/donation-thermometer",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "None seen",
  "as_of": "2026-10-08"
 }
}