WordPress Plugin VideoJS and Cross Site Scripting

OWASP 2013-A3 OWASP 2017-A7 OWASP 2021-A3 OWASP PC-C4 CWE-79 WASC-08

The old JW player. Cross-site Scripting (XSS) is a client-side code injection attack where, an attacker can execute malicious scripts into a website or web application. VideoJS HTML5 Player is a plugin that is used for video playback support on desktops and mobile devices. The self-hosted video files and video are externally hosted using VideoJS library. The current WordPress Plugin Video Player is prone to a cross site scripting vulnerability because it fails to properly sanitize user supplied input. An attacker may leverage this issue to execute arbitrary script code in the browser.This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.


This vulnerability is most prone to:-

  • Cross-site scripting.

Mitigation / Precaution

This vulnerability can be fixed by:-

  • Updating the plugin to version 4.0.0 or latest.

Latest Articles