WordPress Plugin Vulnerabilities

Gmedia Photo Gallery < 1.20.0 - Admin+ Stored Cross-Site Scripting

Description

The plugin does not sanitise and escape the Album's name before outputting it in pages/posts with a media embed, which could allow high privilege users such as admin to perform Cross-Site Scripting attacks even when the unfiltered-html capability is disallowed

Proof of Concept

https://youtu.be/kTMg65teTvU

Create an Album with the following payload as Name: test"><img src onerror=alert(/XSS/)>
Add a media via the "Add/Import files" menu and select the album created above

The XSS will be triggered when viewing the media post

Affects Plugins

Fixed in 1.20.0

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

Original Researcher
Kaushalendra Dubey
Submitter
Kaushalendra Dubey
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2022-04-25 (about 2 years ago)
Added
2022-04-25 (about 2 years ago)
Last Updated
2023-02-06 (about 1 years ago)

Other