CVE-2024-13349: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in stockdio Stockdio Historical Chart
CVE-2024-13349 is a stored cross-site scripting (XSS) vulnerability in the Stockdio Historical Chart WordPress plugin, affecting all versions up to 2. 8. 18. The flaw arises from insufficient input sanitization and output escaping on user-supplied shortcode attributes, allowing authenticated users with contributor-level access or higher to inject malicious scripts. These scripts execute whenever any user views the compromised page, potentially leading to session hijacking or unauthorized actions. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction but does require authentication with low privileges. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or applying mitigations to prevent exploitation, especially in environments with multiple contributors. Countries with significant WordPress usage and financial or business sectors relying on this plugin are at higher risk.
AI Analysis
Technical Summary
CVE-2024-13349 identifies a stored cross-site scripting (XSS) vulnerability in the Stockdio Historical Chart plugin for WordPress, which is widely used to display historical stock data via shortcode integration. The vulnerability exists in all versions up to and including 2.8.18 due to improper neutralization of input during web page generation (CWE-79). Specifically, the plugin fails to adequately sanitize and escape user-supplied attributes passed through the 'stockdio-historical-chart' shortcode. This flaw allows authenticated users with contributor-level permissions or higher to inject arbitrary JavaScript code into pages or posts. When other users access these pages, the injected scripts execute in their browsers, potentially enabling session hijacking, privilege escalation, or unauthorized actions within the WordPress site context. The vulnerability does not require user interaction beyond visiting the infected page and has a CVSS 3.1 base score of 6.4, reflecting medium severity. The attack vector is network-based, with low attack complexity and privileges required, and the scope is changed as the vulnerability can affect other users beyond the attacker. No patches or official fixes are currently linked, and no known exploits have been observed in the wild, but the risk remains significant due to the plugin’s popularity and the ease of exploitation by authenticated users.
Potential Impact
The impact of CVE-2024-13349 on organizations can be substantial, especially for those relying on the Stockdio Historical Chart plugin to display financial or stock market data on WordPress sites. Exploitation allows authenticated contributors or higher to inject malicious scripts that execute in the browsers of site visitors and administrators. This can lead to theft of session cookies, unauthorized actions such as content modification or privilege escalation, and potential compromise of user accounts. For organizations with multiple content contributors, the risk is elevated as attackers only need contributor-level access, which is commonly granted. The vulnerability undermines the integrity and confidentiality of the affected websites and their users. While availability is not directly impacted, the reputational damage and potential data breaches resulting from exploitation can be severe. Additionally, attackers could leverage this vulnerability as a foothold for further attacks within the organization’s web infrastructure. Given the widespread use of WordPress globally, the threat has a broad potential impact, particularly for financial services, investment firms, and business websites that utilize this plugin.
Mitigation Recommendations
To mitigate CVE-2024-13349, organizations should first check for and apply any official patches or updates from the Stockdio plugin vendor as they become available. In the absence of an immediate patch, administrators should restrict contributor-level permissions to trusted users only and audit existing contributors for suspicious activity. Implementing a Web Application Firewall (WAF) with rules to detect and block malicious script injections targeting the 'stockdio-historical-chart' shortcode parameters can provide interim protection. Additionally, site administrators should enable Content Security Policy (CSP) headers to restrict script execution sources, reducing the impact of injected scripts. Regularly scanning WordPress sites with security plugins that detect XSS payloads or anomalous shortcode usage is recommended. Reviewing and sanitizing all user-generated content before publishing, and educating contributors about safe content practices, will also reduce risk. Finally, monitoring logs for unusual shortcode usage or script injection attempts can help detect exploitation attempts early.
Affected Countries
United States, United Kingdom, Canada, Australia, Germany, France, India, Brazil, Japan, Netherlands
CVE-2024-13349: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in stockdio Stockdio Historical Chart
Description
CVE-2024-13349 is a stored cross-site scripting (XSS) vulnerability in the Stockdio Historical Chart WordPress plugin, affecting all versions up to 2. 8. 18. The flaw arises from insufficient input sanitization and output escaping on user-supplied shortcode attributes, allowing authenticated users with contributor-level access or higher to inject malicious scripts. These scripts execute whenever any user views the compromised page, potentially leading to session hijacking or unauthorized actions. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction but does require authentication with low privileges. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or applying mitigations to prevent exploitation, especially in environments with multiple contributors. Countries with significant WordPress usage and financial or business sectors relying on this plugin are at higher risk.
AI-Powered Analysis
Technical Analysis
CVE-2024-13349 identifies a stored cross-site scripting (XSS) vulnerability in the Stockdio Historical Chart plugin for WordPress, which is widely used to display historical stock data via shortcode integration. The vulnerability exists in all versions up to and including 2.8.18 due to improper neutralization of input during web page generation (CWE-79). Specifically, the plugin fails to adequately sanitize and escape user-supplied attributes passed through the 'stockdio-historical-chart' shortcode. This flaw allows authenticated users with contributor-level permissions or higher to inject arbitrary JavaScript code into pages or posts. When other users access these pages, the injected scripts execute in their browsers, potentially enabling session hijacking, privilege escalation, or unauthorized actions within the WordPress site context. The vulnerability does not require user interaction beyond visiting the infected page and has a CVSS 3.1 base score of 6.4, reflecting medium severity. The attack vector is network-based, with low attack complexity and privileges required, and the scope is changed as the vulnerability can affect other users beyond the attacker. No patches or official fixes are currently linked, and no known exploits have been observed in the wild, but the risk remains significant due to the plugin’s popularity and the ease of exploitation by authenticated users.
Potential Impact
The impact of CVE-2024-13349 on organizations can be substantial, especially for those relying on the Stockdio Historical Chart plugin to display financial or stock market data on WordPress sites. Exploitation allows authenticated contributors or higher to inject malicious scripts that execute in the browsers of site visitors and administrators. This can lead to theft of session cookies, unauthorized actions such as content modification or privilege escalation, and potential compromise of user accounts. For organizations with multiple content contributors, the risk is elevated as attackers only need contributor-level access, which is commonly granted. The vulnerability undermines the integrity and confidentiality of the affected websites and their users. While availability is not directly impacted, the reputational damage and potential data breaches resulting from exploitation can be severe. Additionally, attackers could leverage this vulnerability as a foothold for further attacks within the organization’s web infrastructure. Given the widespread use of WordPress globally, the threat has a broad potential impact, particularly for financial services, investment firms, and business websites that utilize this plugin.
Mitigation Recommendations
To mitigate CVE-2024-13349, organizations should first check for and apply any official patches or updates from the Stockdio plugin vendor as they become available. In the absence of an immediate patch, administrators should restrict contributor-level permissions to trusted users only and audit existing contributors for suspicious activity. Implementing a Web Application Firewall (WAF) with rules to detect and block malicious script injections targeting the 'stockdio-historical-chart' shortcode parameters can provide interim protection. Additionally, site administrators should enable Content Security Policy (CSP) headers to restrict script execution sources, reducing the impact of injected scripts. Regularly scanning WordPress sites with security plugins that detect XSS payloads or anomalous shortcode usage is recommended. Reviewing and sanitizing all user-generated content before publishing, and educating contributors about safe content practices, will also reduce risk. Finally, monitoring logs for unusual shortcode usage or script injection attempts can help detect exploitation attempts early.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-01-13T15:08:43.177Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6e51b7ef31ef0b59e25a
Added to database: 2/25/2026, 9:49:05 PM
Last enriched: 2/26/2026, 2:00:27 AM
Last updated: 2/26/2026, 7:02:00 AM
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2026-25191: Uncontrolled Search Path Element in Digital Arts Inc. FinalCode Ver.5 series
HighCVE-2026-23703: Incorrect default permissions in Digital Arts Inc. FinalCode Ver.5 series
HighCVE-2026-1311: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in bearsthemes Worry Proof Backup
HighFinding Signal in the Noise: Lessons Learned Running a Honeypot with AI Assistance [Guest Diary], (Tue, Feb 24th)
MediumCVE-2026-2506: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in motahar1 EM Cost Calculator
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.