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-23928 Overview
CVE-2025-23928 is a stored Cross-Site Scripting (XSS) vulnerability in the Google Org Chart WordPress plugin developed by Aleksandar Arsovski. The flaw affects all versions up to and including 1.0.1 and stems from improper neutralization of user-supplied input during web page generation [CWE-79]. Authenticated attackers with low-level privileges can inject malicious JavaScript that persists in the application and executes in the browsers of other users who view affected pages. The issue is classified under the Patchstack advisory for the google-org-chart plugin.
Critical Impact
Stored XSS allows authenticated attackers to inject persistent JavaScript payloads that execute against site visitors and administrators, enabling session theft, administrative action abuse, and client-side redirection to attacker-controlled infrastructure.
Affected Products
- Aleksandar Arsovski Google Org Chart (google-org-chart) WordPress plugin
- All versions from initial release through 1.0.1
- WordPress installations with the plugin activated
Discovery Timeline
- 2025-01-16 - CVE-2025-23928 published to the National Vulnerability Database (NVD)
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-23928
Vulnerability Analysis
The vulnerability is a stored XSS flaw in the Google Org Chart WordPress plugin. Input supplied through plugin-controlled fields is written to persistent storage without sufficient sanitization or output encoding. When the stored content is later rendered inside a page or administrative view, the browser interprets attacker-controlled markup as executable script.
Exploitation requires an authenticated session with low privileges and user interaction from the victim. Because the attack crosses a security scope boundary, injected scripts execute in the context of other users, including higher-privileged administrators who browse pages containing the malicious payload.
Root Cause
The root cause is improper neutralization of input during web page generation [CWE-79]. The plugin accepts chart configuration data from authenticated users and renders it back into HTML output without escaping dangerous characters such as <, >, ", and '. Any input that reaches the rendering layer unescaped is treated as structural HTML or JavaScript rather than as data.
Attack Vector
An attacker with contributor-level or higher access submits a crafted chart entry containing an XSS payload through the plugin's input fields. The payload is stored in the WordPress database. When another authenticated user, typically an administrator, views the page containing the chart, the payload executes in their browser session. Consequences include theft of session cookies, forced administrative actions through forged requests, defacement, and redirection to malicious domains. Full technical details are available in the Patchstack Vulnerability Report.
Detection Methods for CVE-2025-23928
Indicators of Compromise
- Chart configuration entries in the WordPress database containing <script>, onerror=, onload=, or javascript: strings
- Unexpected outbound requests from administrator browsers to unknown third-party domains after viewing pages containing Google Org Chart shortcodes
- New or modified administrator accounts created shortly after an authenticated contributor edited chart content
- Unexplained changes to WordPress options, themes, or plugin files following access to pages that render org charts
Detection Strategies
- Audit the wp_posts, wp_postmeta, and plugin-specific tables for stored content containing HTML event handlers or script tags associated with the google-org-chart plugin
- Deploy a Web Application Firewall (WAF) rule that inspects POST requests to plugin endpoints for XSS payload patterns
- Enable WordPress audit logging to capture content submissions from low-privileged roles and correlate with administrator page views
Monitoring Recommendations
- Monitor browser console error telemetry and Content Security Policy (CSP) violation reports from administrator sessions
- Track plugin usage inventory to identify sites running google-org-chart version 1.0.1 or earlier
- Alert on privilege changes, user creation, and plugin or theme modifications performed from administrator sessions immediately after chart page views
How to Mitigate CVE-2025-23928
Immediate Actions Required
- Deactivate and remove the Google Org Chart plugin until a patched version is confirmed available from the vendor
- Review all existing chart entries for injected script content and purge any malicious payloads from the database
- Rotate administrator session cookies and credentials for any user who accessed pages containing the plugin's output
- Restrict contributor and author role assignments to trusted users only while the plugin remains installed
Patch Information
At the time of publication, the Patchstack advisory lists all versions through 1.0.1 as affected and does not confirm a fixed release. Administrators should consult the Patchstack Vulnerability Report and the plugin's WordPress.org listing for updates and apply any patched release immediately upon availability.
Workarounds
- Uninstall the google-org-chart plugin and replace it with an actively maintained alternative that escapes user input
- Enforce a strict Content Security Policy (CSP) that disallows inline scripts and restricts script sources to trusted origins
- Place a WAF in front of the WordPress site with signatures that block common stored XSS payloads targeting plugin endpoints
- Limit who can submit chart content by removing publishing privileges from untrusted low-level roles
# Example WordPress CLI commands to deactivate and remove the vulnerable plugin
wp plugin deactivate google-org-chart
wp plugin uninstall google-org-chart
# Example Content Security Policy header to restrict inline script execution
# Add via web server configuration (nginx example)
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri '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

