CVE-2025-8685
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-08-12

Last updated on: 2025-08-12

Assigner: Wordfence

Description
The Wp chart generator plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's wpchart shortcode in all versions up to, and including, 1.0.4 due to insufficient input sanitization and output escaping on user supplied attributes. 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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-08-12
Last Modified
2025-08-12
Generated
2026-05-07
AI Q&A
2025-08-12
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
emilien_laborde wp_chart_generator 1.0.4
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-8685 is a Stored Cross-Site Scripting (XSS) vulnerability in the Wp chart generator WordPress plugin (up to version 1.0.4). It occurs because the plugin does not properly sanitize or escape user-supplied attributes in its wpchart shortcode. This allows authenticated users with contributor-level access or higher to inject malicious scripts into pages. These scripts execute whenever any user views the infected page, potentially compromising user data or site integrity.


How can this vulnerability impact me? :

This vulnerability can allow attackers with contributor-level access to inject arbitrary JavaScript into pages, which will execute in the browsers of users who view those pages. This can lead to theft of user credentials, session hijacking, defacement, or other malicious actions performed on behalf of the victim user. Since the attack requires authenticated access, it primarily impacts sites where contributors or higher roles are not fully trusted or where user input is not carefully controlled.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

Detection of this vulnerability involves identifying the presence of the vulnerable Wp chart generator plugin version 1.0.4 or earlier installed on your WordPress site. Since the vulnerability is a Stored Cross-Site Scripting via the wpchart shortcode, you can search for usage of this shortcode in posts or pages. Commands to detect the plugin and shortcode usage include: 1) Check installed plugins and their versions via WP-CLI: `wp plugin list | grep wp-chart-generator` 2) Search for the shortcode usage in the WordPress database (assuming access to MySQL): `SELECT ID, post_title FROM wp_posts WHERE post_content LIKE '%[wpchart%'` 3) Monitor HTTP requests for suspicious payloads or script injections in pages using the shortcode. These steps help detect if the vulnerable plugin is present and if the shortcode is used in content, which could be exploited. [1]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include: 1) Disable or uninstall the Wp chart generator plugin version 1.0.4 or earlier from your WordPress installation to prevent exploitation. 2) Since the plugin has been temporarily closed and removed from the official repository pending a security review, avoid reinstalling it until a patched version is released. 3) Review and sanitize any content using the wpchart shortcode to remove potentially malicious scripts. 4) Limit contributor-level access and above to trusted users only, as the vulnerability requires authenticated contributor-level access. 5) Monitor your site for suspicious activity or injected scripts in pages using the shortcode. These steps reduce the risk of exploitation until a secure plugin version is available. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart