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-4365: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in mdempfle Advanced iFrame

0
Medium
VulnerabilityCVE-2024-4365cvecve-2024-4365cwe-79
Published: Thu May 23 2024 (05/23/2024, 16:30:52 UTC)
Source: CVE Database V5
Vendor/Project: mdempfle
Product: Advanced iFrame

Description

CVE-2024-4365 is a stored cross-site scripting (XSS) vulnerability in the Advanced iFrame WordPress plugin, affecting all versions up to 2024. 3. It arises from improper input sanitization and output escaping of the 'add_iframe_url_as_param_direct' parameter. Authenticated users with contributor-level permissions or higher can inject malicious scripts that execute whenever any user accesses the compromised page. The vulnerability has a CVSS score of 6. 4, indicating medium severity, with a scope change and no user interaction required. Exploitation could lead to partial confidentiality and integrity impacts, such as session hijacking or content manipulation. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or applying mitigations to prevent potential attacks. Countries with widespread WordPress usage and significant adoption of this plugin are at higher risk.

AI-Powered Analysis

AILast updated: 02/26/2026, 00:39:21 UTC

Technical Analysis

CVE-2024-4365 is a stored cross-site scripting vulnerability identified in the Advanced iFrame plugin for WordPress, developed by mdempfle. The flaw exists due to insufficient sanitization and escaping of the 'add_iframe_url_as_param_direct' parameter, which is used to embed iframe URLs directly into pages. This vulnerability allows authenticated users with contributor-level or higher permissions to inject arbitrary JavaScript code that is stored persistently and executed in the context of any user who views the affected page. The vulnerability affects all versions up to and including 2024.3. The attack vector is remote network-based, requiring low attack complexity and no user interaction, but does require authentication with contributor or higher privileges. The vulnerability impacts confidentiality and integrity by enabling script execution that can steal session tokens, manipulate page content, or perform actions on behalf of users. The scope is changed because the injected script can affect other users beyond the attacker. The CVSS 3.1 base score is 6.4, reflecting medium severity. No public exploits or patches are currently available, increasing the urgency for administrators to monitor and apply updates once released. This vulnerability is classified under CWE-79, a common web application security weakness related to improper neutralization of input during web page generation.

Potential Impact

The primary impact of CVE-2024-4365 is the potential for stored cross-site scripting attacks that compromise user confidentiality and integrity within affected WordPress sites. Attackers with contributor-level access can inject malicious scripts that execute in the browsers of site visitors or administrators, potentially leading to session hijacking, credential theft, unauthorized actions, or defacement. Although availability is not directly impacted, the trustworthiness and security of the website are undermined, which can lead to reputational damage and loss of user confidence. Organizations relying on the Advanced iFrame plugin are at risk of targeted attacks, especially if they allow contributor-level users or if their sites have high traffic. The vulnerability's ability to affect multiple users and its persistence make it a significant threat vector for web-based attacks. The lack of known exploits in the wild currently limits immediate widespread damage, but the medium severity and ease of exploitation warrant proactive mitigation.

Mitigation Recommendations

To mitigate CVE-2024-4365, organizations should first verify if they use the Advanced iFrame plugin and identify the version in use. Immediate steps include restricting contributor-level permissions to trusted users only, minimizing the number of users with such privileges to reduce the attack surface. Administrators should monitor for plugin updates or patches from the vendor and apply them promptly once available. In the interim, implementing web application firewall (WAF) rules to detect and block suspicious payloads targeting the 'add_iframe_url_as_param_direct' parameter can help reduce risk. Additionally, site owners should audit existing iframe URLs and pages for injected scripts and remove any malicious content. Employing Content Security Policy (CSP) headers can limit the impact of injected scripts by restricting script sources. Regular security reviews and user permission audits are recommended to prevent unauthorized privilege escalation. Finally, educating contributors about safe input practices and monitoring logs for unusual activity can further enhance defense.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-04-30T18:51:50.805Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6b88b7ef31ef0b5565ad

Added to database: 2/25/2026, 9:37:12 PM

Last enriched: 2/26/2026, 12:39:21 AM

Last updated: 2/26/2026, 11:39:05 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