Reflected xss vis src parameter #5606
Labels
Bug
Confirmed
Demo
good-first-issue
Something that would be great to work on as an introduction to the code-base.
security
Pull requests that address a security vulnerability
What version of Hls.js are you using?
1.4.7
What browser (including version) are you using?
Firefox 114.0.1
What OS (including version) are you using?
Windows 10
Test stream
Configuration
Additional player setup steps
No response
Checklist
Steps to reproduce
https://hlsjs.video-dev.org/demo/?src=%22%27%3E%3Cimg%20src%3Dx%20onerror%3Dprompt(1)%3Ejavascript%3Aalert(1)
Expected behaviour
src to be properly parsed before being inserted into HTML
What actually happened?
HTML directly inserted into DOM
Console output
Chrome media internals output
No response
The text was updated successfully, but these errors were encountered: