Skip to main content
Vulnerability Database/CVE-2026-92409

CVE-2026-92409: Donation Thermometer WordPress XSS Vulnerability

CVE-2026-92409 is a cross-site scripting flaw in the Donation Thermometer WordPress plugin that allows contributors to inject malicious code. This post covers technical details, affected versions, security impact, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-92409 Overview

CVE-2026-92409 is a stored Cross-Site Scripting (XSS) vulnerability in the Donation Thermometer WordPress plugin versions prior to 2.3.0. The plugin fails to escape a colour value taken from a shortcode attribute before rendering it inside an HTML attribute in the generated legend markup. Authenticated users with the Contributor role or higher can inject arbitrary JavaScript event handlers that execute when any visitor views the affected page. The flaw allows session theft, administrative action forgery, and content manipulation within the site context.

Critical Impact

Low-privileged authenticated users can inject JavaScript event handlers that execute in the browser of every visitor viewing the compromised page, including administrators.

Affected Products

  • Donation Thermometer WordPress plugin versions before 2.3.0
  • WordPress sites allowing Contributor-level registrations or higher
  • Any WordPress deployment rendering the vulnerable shortcode on public pages

Discovery Timeline

  • 2026-10-14 - CVE CVE-2026-92409 published to NVD
  • 2026-10-14 - Last updated in NVD database

Technical Details for CVE-2026-92409

Vulnerability Analysis

The vulnerability is a stored Cross-Site Scripting (XSS) flaw classified under [CWE-79]. The Donation Thermometer plugin exposes a shortcode that accepts a colour parameter used to style the legend element in the rendered output. The plugin inserts the user-supplied colour value directly into an HTML attribute without applying context-aware escaping such as esc_attr(). Because the input is placed inside an attribute, an attacker can break out of the attribute context and inject additional attributes, including JavaScript event handlers like onmouseover or onclick.

Execution occurs in the browser of any user who loads the page containing the malicious shortcode. The Contributor role requirement does not meaningfully constrain exploitation, since Contributor accounts are often granted on multi-author sites. When an administrator views the attacker-authored content, the injected payload runs with the administrator's session, enabling account takeover.

Root Cause

The plugin omits output escaping on a shortcode attribute before concatenating it into HTML attribute context. WordPress provides esc_attr() for exactly this scenario, but the vulnerable code path does not call it. Input validation of the colour value, for example against a strict hex or named-colour allowlist, is also absent.

Attack Vector

An attacker with Contributor privileges authors a post containing the Donation Thermometer shortcode with a crafted colour attribute. The payload closes the intended attribute and introduces a JavaScript event handler. When the post is previewed, published, or viewed by any user, the injected handler fires in the victim's browser session. Review the WPScan Vulnerability Report for the technical write-up.

Detection Methods for CVE-2026-92409

Indicators of Compromise

  • Posts or pages authored by Contributor-level accounts containing the Donation Thermometer shortcode with unusual colour attribute values
  • HTML output in rendered pages where the legend element contains on* event handler attributes such as onmouseover, onclick, or onerror
  • Unexpected outbound requests from browser sessions to attacker-controlled domains following page views of donation thermometer content

Detection Strategies

  • Scan post and page content in the wp_posts table for shortcodes containing quote characters, angle brackets, or javascript: sequences inside colour parameters
  • Inspect rendered page HTML for script tags or event handler attributes within elements emitted by the plugin
  • Review web server logs for POST requests to wp-admin/post.php from Contributor-role accounts that include shortcode payloads with suspicious encoding

Monitoring Recommendations

  • Enable a Content Security Policy (CSP) with reporting to surface inline script execution attempts on pages using the plugin
  • Audit WordPress role assignments and alert on new Contributor, Author, or Editor account creation
  • Monitor the installed plugin inventory and flag Donation Thermometer installations with versions below 2.3.0

How to Mitigate CVE-2026-92409

Immediate Actions Required

  • Update the Donation Thermometer plugin to version 2.3.0 or later on all WordPress instances
  • Audit existing posts and pages for the plugin's shortcode and inspect colour attribute values for injected markup
  • Review Contributor, Author, and Editor accounts for unauthorized or dormant users and revoke unneeded access

Patch Information

The vendor addressed the vulnerability in Donation Thermometer version 2.3.0 by applying proper output escaping to the shortcode colour attribute. Site operators should upgrade through the WordPress plugin manager or by replacing the plugin files manually. Refer to the WPScan Vulnerability Report for advisory details.

Workarounds

  • Deactivate the Donation Thermometer plugin until the upgrade to 2.3.0 can be completed
  • Restrict post publishing capability by removing the Contributor role from untrusted users or requiring editorial review before publication
  • Deploy a web application firewall (WAF) rule that blocks shortcode attribute payloads containing quote characters, angle brackets, or on* event handler keywords
bash
# Configuration example: identify vulnerable plugin version via WP-CLI
wp plugin list --name=donation-thermometer --fields=name,status,version
wp plugin update donation-thermometer --version=2.3.0

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.