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-5205: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in naa986 Videojs HTML5 Player

0
Medium
VulnerabilityCVE-2024-5205cvecve-2024-5205cwe-79
Published: Fri May 24 2024 (05/24/2024, 03:07:43 UTC)
Source: CVE Database V5
Vendor/Project: naa986
Product: Videojs HTML5 Player

Description

CVE-2024-5205 is a stored cross-site scripting (XSS) vulnerability in the Videojs HTML5 Player WordPress plugin (naa986) affecting all versions up to 1. 1. 11. The flaw arises from insufficient input sanitization and output escaping on user-supplied attributes in the videojs_video shortcode. Authenticated users with contributor-level or higher privileges can inject malicious scripts that execute whenever any user views the compromised page. The vulnerability has a CVSS 3. 1 base score of 6. 4, indicating medium severity, with network attack vector, low attack complexity, and no user interaction required. Exploitation can lead to partial confidentiality and integrity impacts but does not affect availability. No known public exploits are reported yet.

AI-Powered Analysis

AILast updated: 02/26/2026, 02:26:23 UTC

Technical Analysis

CVE-2024-5205 is a stored cross-site scripting (XSS) vulnerability identified in the Videojs HTML5 Player plugin for WordPress, developed by naa986. This vulnerability affects all plugin versions up to and including 1.1.11. The root cause is improper neutralization of input during web page generation (CWE-79), specifically due to insufficient sanitization and escaping of user-supplied attributes within the plugin's videojs_video shortcode. Authenticated attackers with contributor-level or higher privileges can exploit this flaw by injecting arbitrary JavaScript code into pages or posts. When other users access these pages, the malicious scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions within the context of the affected site. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting a medium severity level. The attack vector is network-based, requiring only low complexity and no user interaction, but it does require the attacker to be authenticated with contributor or higher permissions. The scope is considered changed (S:C) because the vulnerability can affect other users beyond the attacker. Confidentiality and integrity impacts are partial, while availability is not affected. No known public exploits have been reported at this time, but the vulnerability poses a significant risk to WordPress sites using this plugin, especially those allowing contributor-level access to untrusted users.

Potential Impact

The primary impact of CVE-2024-5205 is the potential for stored XSS attacks on WordPress sites using the vulnerable Videojs HTML5 Player plugin. Successful exploitation allows authenticated contributors or higher to inject malicious scripts that execute in the browsers of any user viewing the infected page. This can lead to theft of session cookies, enabling account takeover or privilege escalation. It may also facilitate defacement, unauthorized actions, or distribution of malware to site visitors. While availability is not impacted, the confidentiality and integrity of user data and site content are at risk. Organizations relying on this plugin, especially those with multiple contributors or less stringent access controls, face increased risk of compromise. The vulnerability could be leveraged in targeted attacks against high-value WordPress sites, including media, publishing, and corporate websites. The lack of public exploits currently limits widespread impact, but the medium severity score and ease of exploitation by authenticated users necessitate prompt remediation to prevent potential damage.

Mitigation Recommendations

To mitigate CVE-2024-5205, organizations should immediately update the Videojs HTML5 Player plugin to a patched version once available. In the absence of an official patch, administrators should restrict contributor-level access to trusted users only and consider temporarily disabling or removing the plugin to eliminate the attack surface. Implementing a Web Application Firewall (WAF) with rules to detect and block malicious script injections targeting the videojs_video shortcode parameters can provide interim protection. Site owners should audit existing content for injected scripts and remove any suspicious code. Additionally, enforcing strict Content Security Policy (CSP) headers can help limit the impact of injected scripts by restricting script sources. Regularly monitoring logs for unusual activity related to the plugin and educating contributors about safe content practices will further reduce risk. Finally, applying the principle of least privilege by limiting user roles and permissions reduces the likelihood of exploitation.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-05-22T15:51:59.069Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6be0b7ef31ef0b55bac4

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

Last enriched: 2/26/2026, 2:26:23 AM

Last updated: 2/26/2026, 6:17:17 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