Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-13572: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in nfusionsolutions Precious Metals Charts and Widgets for WordPress

0
Medium
VulnerabilityCVE-2024-13572cvecve-2024-13572cwe-79
Published: Fri Jan 24 2025 (01/24/2025, 11:07:31 UTC)
Source: CVE Database V5
Vendor/Project: nfusionsolutions
Product: Precious Metals Charts and Widgets for WordPress

Description

CVE-2024-13572 is a stored cross-site scripting (XSS) vulnerability in the Precious Metals Charts and Widgets plugin for WordPress, affecting all versions up to 1. 2. 8. The flaw arises from insufficient input sanitization and output escaping in the 'nfusion-widget' shortcode, 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, defacement, or other malicious actions. The vulnerability has a CVSS score of 6. 4, indicating medium severity, with no known exploits in the wild as of now. Exploitation requires authentication but no user interaction beyond viewing the infected page. Organizations using this plugin on WordPress sites should prioritize patching or applying mitigations to prevent exploitation.

AI-Powered Analysis

AILast updated: 02/25/2026, 23:44:56 UTC

Technical Analysis

CVE-2024-13572 is a stored cross-site scripting vulnerability classified under CWE-79, found in the Precious Metals Charts and Widgets plugin for WordPress by nfusionsolutions. This vulnerability affects all versions up to and including 1.2.8. The root cause is insufficient sanitization and escaping of user-supplied attributes in the 'nfusion-widget' shortcode, which is used to embed precious metals charts and widgets on WordPress pages. Authenticated users with contributor-level permissions or higher can exploit this flaw by injecting arbitrary JavaScript code into the shortcode attributes. Because the injected script is stored persistently in the WordPress database, it executes every time a user accesses the affected page, potentially compromising user sessions, stealing cookies, or performing actions on behalf of the victim. The vulnerability requires no user interaction beyond page viewing but does require authentication with contributor or higher privileges, which limits exposure to some extent. The CVSS v3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, privileges required, no user interaction, and a scope change. No public exploits have been reported yet, but the vulnerability poses a significant risk to WordPress sites using this plugin, especially those with multiple contributors or editors. The lack of patch links suggests that a fix may not yet be publicly available, emphasizing the need for immediate mitigation.

Potential Impact

The impact of CVE-2024-13572 is primarily on the confidentiality and integrity of affected WordPress sites. Successful exploitation allows attackers to execute arbitrary JavaScript in the context of the victim's browser, potentially leading to session hijacking, theft of sensitive information such as cookies or credentials, unauthorized actions performed on behalf of users, or defacement of website content. Since the vulnerability is stored XSS, the malicious payload persists and affects all users who visit the compromised pages. This can damage organizational reputation, lead to data breaches, and facilitate further attacks such as phishing or malware distribution. The requirement for contributor-level access reduces the risk from anonymous attackers but still poses a threat in environments with multiple authenticated users or weak access controls. Organizations relying on this plugin for financial or commodity-related content may face increased risk due to the sensitive nature of their audience and data. The absence of known exploits in the wild currently limits immediate widespread impact, but the vulnerability remains a significant risk if weaponized.

Mitigation Recommendations

To mitigate CVE-2024-13572, organizations should first verify if they are using the Precious Metals Charts and Widgets plugin for WordPress, especially versions up to 1.2.8. Immediate steps include: 1) Restrict contributor-level and higher permissions to trusted users only, minimizing the risk of malicious input. 2) Implement Web Application Firewall (WAF) rules to detect and block suspicious script injections in shortcode attributes. 3) Apply manual input validation and sanitization for any user-generated content related to the plugin if custom development is possible. 4) Monitor and audit user activities for unusual behavior or unauthorized changes in shortcode content. 5) Regularly check for updates or patches from the vendor and apply them promptly once available. 6) Consider temporarily disabling the plugin or replacing it with alternative solutions that do not exhibit this vulnerability until a patch is released. 7) Educate content contributors about secure content practices and the risks of injecting untrusted code. These targeted actions go beyond generic advice by focusing on access control, monitoring, and proactive content validation specific to this plugin's context.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-01-21T14:14:28.865Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6e61b7ef31ef0b59f41b

Added to database: 2/25/2026, 9:49:21 PM

Last enriched: 2/25/2026, 11:44:56 PM

Last updated: 2/26/2026, 9:41:45 AM

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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.

Latest Threats