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-5571: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpdevteam EmbedPress – Embed PDF, Google Docs, Vimeo, Wistia, Embed YouTube Videos, Audios, Maps & Embed Any Documents in Gutenberg & Elementor

0
Medium
VulnerabilityCVE-2024-5571cvecve-2024-5571cwe-79
Published: Wed Jun 05 2024 (06/05/2024, 08:33:15 UTC)
Source: CVE Database V5
Vendor/Project: wpdevteam
Product: EmbedPress – Embed PDF, Google Docs, Vimeo, Wistia, Embed YouTube Videos, Audios, Maps & Embed Any Documents in Gutenberg & Elementor

Description

CVE-2024-5571 is a stored cross-site scripting (XSS) vulnerability in the EmbedPress WordPress plugin, affecting all versions up to 4. 0. 1. The flaw arises from improper sanitization and escaping of the 'url' attribute in the plugin's PDF embedding widget. Authenticated users with contributor-level access or higher can inject malicious scripts that execute when other users view the affected pages. This vulnerability can lead to session hijacking, defacement, or unauthorized actions within the WordPress site. Exploitation does not require user interaction but does require authentication with contributor privileges. The CVSS score is 6. 4 (medium severity), reflecting network attack vector, low attack complexity, and partial confidentiality and integrity impact. No known exploits are currently reported in the wild.

AI-Powered Analysis

AILast updated: 02/26/2026, 02:41:33 UTC

Technical Analysis

CVE-2024-5571 is a stored cross-site scripting vulnerability classified under CWE-79, found in the EmbedPress WordPress plugin, which enables embedding of PDFs, Google Docs, videos, audios, maps, and other documents within Gutenberg and Elementor editors. The vulnerability exists due to insufficient input sanitization and output escaping of the 'url' attribute in the EmbedPress PDF widget. This allows authenticated users with contributor-level access or higher to inject arbitrary JavaScript code into pages. When other users access these pages, the malicious scripts execute in their browsers, potentially compromising session tokens, cookies, or performing unauthorized actions on behalf of the victim. The vulnerability affects all versions up to and including 4.0.1. The attack vector is remote over the network, with low complexity and no user interaction required beyond authentication. The scope is confined to the affected WordPress sites using this plugin, but the impact can be significant due to the stored nature of the XSS, enabling persistent attacks. The CVSS 3.1 score of 6.4 reflects a medium severity with partial confidentiality and integrity impacts but no availability impact. No public exploits have been reported yet, but the vulnerability is publicly disclosed, increasing the risk of future exploitation.

Potential Impact

The primary impact of CVE-2024-5571 is the potential compromise of user sessions and site integrity through persistent cross-site scripting attacks. Attackers with contributor-level access can inject malicious scripts that execute in the browsers of site visitors or administrators, leading to theft of authentication cookies, defacement, or unauthorized actions such as content manipulation or privilege escalation attempts. This can erode user trust, damage brand reputation, and lead to data breaches. Since the vulnerability requires authenticated access, the risk is higher in environments with many contributors or weak internal access controls. The stored nature of the XSS means the malicious payload persists until removed, increasing exposure. Although availability is not impacted, confidentiality and integrity are at risk. Organizations running WordPress sites with this plugin, especially those with multiple contributors or public-facing content, face increased risk of targeted attacks and potential compromise.

Mitigation Recommendations

To mitigate CVE-2024-5571, organizations should immediately update the EmbedPress plugin to a version where this vulnerability is patched once available. Until a patch is released, administrators should restrict contributor-level access to trusted users only and audit existing embedded content for suspicious scripts or URLs. Implementing a Web Application Firewall (WAF) with rules to detect and block malicious script injections targeting the 'url' attribute can reduce risk. Additionally, applying Content Security Policy (CSP) headers to restrict execution of unauthorized scripts can mitigate impact. Regularly scanning WordPress sites with security plugins that detect XSS payloads and monitoring logs for unusual contributor activity are recommended. Educating contributors about safe content embedding practices and enforcing strong authentication and access controls further reduce exploitation likelihood. Finally, ensure backups are maintained to restore clean site states if compromise occurs.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-05-31T18:26:26.600Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6bebb7ef31ef0b55c24e

Added to database: 2/25/2026, 9:38:51 PM

Last enriched: 2/26/2026, 2:41:33 AM

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