WordPress Plugin VideoJS and Cross Site Scripting

Sooraj V Nair
Published on
26 Jun 2018

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.
Automated human-like penetration testing for your web apps & APIs
Teams using Beagle Security are set up in minutes, embrace release-based CI/CD security testing and save up to 65% with timely remediation of vulnerabilities. Sign up for a free account to see what it can do for you.

Written by
Sooraj V Nair
Sooraj V Nair
Cyber Security Engineer
Find website security issues in a flash
Improve your website's security posture with proactive vulnerability detection.
Free website security assessment