CVE-2026-1939
Unknown Unknown - Not Provided
Stored XSS in Percent to Infograph WordPress Plugin Allows Script Injection

Publication date: 2026-02-14

Last updated on: 2026-02-14

Assigner: Wordfence

Description
The Percent to Infograph plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `percent_to_graph` shortcode in all versions up to, and including, 1.0 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
2026-02-14
Last Modified
2026-02-14
Generated
2026-05-06
AI Q&A
2026-02-14
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
percent_to_infograph percent_to_infograph to 1.0 (inc)
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?

The Percent to Infograph plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in its `percent_to_graph` shortcode. This vulnerability exists because the plugin does not properly sanitize or escape user-supplied attributes before outputting them. As a result, authenticated users with contributor-level access or higher can inject malicious scripts into pages. These scripts will execute whenever any user views the infected page.


How can this vulnerability impact me? :

This vulnerability allows attackers with contributor-level access to inject arbitrary JavaScript into pages, which can then execute in the browsers of users who visit those pages. This can lead to theft of user credentials, session hijacking, defacement of the website, or distribution of malware. Because the attack is stored, the malicious script persists on the site and affects all visitors to the compromised page.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


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

[{'type': 'paragraph', 'content': 'This vulnerability can be detected by identifying the presence of the Percent to Infograph WordPress plugin, especially versions up to and including 1.0, and by checking for usage of the `percent_to_graph` shortcode with potentially malicious or unexpected input values.'}, {'type': 'paragraph', 'content': 'Since the vulnerability involves stored cross-site scripting via shortcode attributes, detection can involve searching the WordPress database or content for injected scripts or suspicious shortcode usage.'}, {'type': 'list_item', 'content': "Search WordPress posts or pages for the shortcode usage: `grep -r '\\[percent_to_graph' /path/to/wordpress/wp-content`"}, {'type': 'list_item', 'content': 'Check the database for suspicious shortcode attributes containing script tags or JavaScript code, for example using SQL queries to find entries with `<script>` or `onerror=` in post content.'}, {'type': 'list_item', 'content': 'Use web application scanners or security plugins that detect stored XSS vulnerabilities in WordPress plugins.'}] [1]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include removing or disabling the Percent to Infograph plugin if it is not essential.

If the plugin is required, restrict contributor-level and above users from adding or editing shortcodes until a patched version is available.

Review and sanitize existing content that uses the `percent_to_graph` shortcode to remove any injected scripts.

Apply any available updates or patches from the plugin author once released.

Implement additional security measures such as a Web Application Firewall (WAF) to block malicious script injections.


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