Vulnerabilities / Donation Thermometer / WPSEC-2026-0659
Donation Thermometer <= 2.2.11 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'colorramp' Shortcode Attribute
Medium 6.4
CWE-79Fixed in 2.3.0
- ID
- WPSEC-2026-0659
- Plugin
- Donation Thermometer (donation-thermometer)
- Affected
- from 2.2.9 before 2.3.0
- Remediation
- Update to 2.3.0 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions None seen among sites WPSec scans, 2026-10-08
- Attack surface
- Donation Thermometer on WPSec AttackSurface
- Fix released
- Published
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.
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/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS