Skip to main content
Vulnerability Database/CVE-2025-23860

CVE-2025-23860: Charity-thermometer Stored XSS Vulnerability

CVE-2025-23860 is a stored cross-site scripting vulnerability in the Charity-thermometer WordPress plugin that enables attackers to inject malicious scripts. This article covers technical details, affected versions, and remediation.

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-2025-23860 Overview

CVE-2025-23860 is a stored cross-site scripting (XSS) vulnerability in the crea8xion Charity-thermometer (charitydonation-thermometer) WordPress plugin. The flaw affects all versions up to and including 1.1.2. Attackers with low-privileged authenticated access can inject malicious scripts that persist in the plugin's output and execute in the browsers of users who view affected pages. The issue is classified under CWE-79, Improper Neutralization of Input During Web Page Generation. Exploitation requires user interaction and operates across a security scope boundary, enabling theft of session data or redirection of site visitors.

Critical Impact

Authenticated attackers can store malicious JavaScript that executes in other users' browsers, including site administrators, enabling session theft and account takeover.

Affected Products

  • crea8xion Charity-thermometer (charitydonation-thermometer) WordPress plugin
  • All versions from initial release through 1.1.2
  • WordPress sites with the plugin installed and activated

Discovery Timeline

  • 2025-01-16 - CVE CVE-2025-23860 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-23860

Vulnerability Analysis

The vulnerability stems from improper neutralization of user-supplied input before it is rendered in generated web pages. The Charity-thermometer plugin accepts input through plugin-managed fields and stores that data without applying adequate sanitization or output encoding. When the stored content is later rendered, embedded JavaScript executes in the browser context of any user who views the affected page.

Because the payload is persisted server-side, each visit to the affected page re-executes the script without further attacker action. The CVSS vector indicates a scope change, meaning the impact extends beyond the vulnerable component to the user's browser session on the WordPress site. This exposes site visitors, editors, and administrators to arbitrary script execution under the site's origin.

Root Cause

The root cause is missing or insufficient input sanitization in plugin code paths that accept data from authenticated users. The plugin does not apply WordPress sanitization functions such as sanitize_text_field(), wp_kses(), or appropriate output escaping with esc_html() or esc_attr(). As a result, HTML and JavaScript characters pass through unchanged into stored content and the rendered Document Object Model (DOM).

Attack Vector

Exploitation requires network access to the WordPress site and low-privileged authenticated access (PR:L), such as a contributor or editor account. The attacker submits a crafted payload containing JavaScript through a plugin input field. The malicious content is stored in the WordPress database. When a victim, including an administrator, visits a page that renders the stored content, the script executes in their browser. User interaction (UI:R) is required to trigger the payload. Successful exploitation can lead to session hijacking, administrative action forgery, or redirection to attacker-controlled infrastructure.

See the Patchstack Vulnerability Report for additional technical context.

Detection Methods for CVE-2025-23860

Indicators of Compromise

  • Unexpected <script> tags, onerror, onload, or javascript: URIs stored in plugin-managed database tables or post content tied to the Charity-thermometer plugin.
  • Outbound browser requests from administrative sessions to unfamiliar third-party domains after loading plugin-rendered pages.
  • New or modified WordPress administrator accounts created shortly after authenticated low-privileged users accessed plugin pages.

Detection Strategies

  • Audit WordPress database entries created by the charitydonation-thermometer plugin for HTML or script content in fields intended to hold plain text.
  • Review web server access logs for POST requests to plugin endpoints from low-privileged accounts, correlated with later anomalous administrative activity.
  • Deploy a Content Security Policy (CSP) in report-only mode to surface inline script execution originating from plugin-rendered pages.

Monitoring Recommendations

  • Monitor WordPress audit logs for content edits to plugin-managed objects by non-administrative roles.
  • Alert on administrator session cookies being transmitted to external domains via browser telemetry.
  • Track installations and versions of the charitydonation-thermometer plugin across managed WordPress instances to identify vulnerable deployments.

How to Mitigate CVE-2025-23860

Immediate Actions Required

  • Deactivate and remove the Charity-thermometer plugin on all WordPress sites running version 1.1.2 or earlier until a patched release is confirmed.
  • Review all plugin-managed content for existing malicious payloads and purge any entries containing script tags or event handlers.
  • Rotate credentials and invalidate active sessions for WordPress administrators who may have viewed attacker-controlled plugin content.

Patch Information

At the time of publication, no fixed version is referenced in the available advisory data. Monitor the Patchstack Vulnerability Report and the WordPress plugin repository for an updated release addressing CVE-2025-23860.

Workarounds

  • Restrict plugin editing capabilities to trusted administrator accounts only, removing access for contributor and editor roles.
  • Deploy a Web Application Firewall (WAF) rule to block requests containing script tags or JavaScript event handlers targeting plugin endpoints.
  • Enforce a strict Content Security Policy that blocks inline script execution to limit the impact of stored payloads.
bash
# Example restrictive Content-Security-Policy header for WordPress
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'"

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.