WordPress Plugin Vulnerabilities

Lightbox Gallery < 0.9.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

[gallery ids='88' class='" onmouseover="alert(/XSS/)"']

Note: ids is an image attachment id.

Affects Plugins

Fixed in 0.9.5

References

Classification

Type
XSS
CWE

Miscellaneous

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

Timeline

Publicly Published
2023-01-18 (about 10 months ago)
Added
2023-01-18 (about 10 months ago)
Last Updated
2023-01-18 (about 10 months ago)

Other