WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact
WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact

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

grand-media
Fixed in version 1.20.0

References

CVE
CVE-2022-0873

Classification

Type

XSS

OWASP top 10
A7: Cross-Site Scripting (XSS)
CWE
CWE-79

Miscellaneous

Original Researcher

Kaushalendra Dubey

Submitter

Kaushalendra Dubey

Submitter twitter
x0k017
Verified

Yes

WPVDB ID
d5ce4b8a-9aa5-4df8-b521-c2105990a87e

Timeline

Publicly Published

2022-04-25 (about 1 years ago)

Added

2022-04-25 (about 1 years ago)

Last Updated

2023-02-06 (about 3 months ago)

Our Other Services

WPScan WordPress Security Plugin
WPScan

Vulnerabilities

WordPressPluginsThemesOur StatsSubmit vulnerabilities

About

How it worksPricingWordPress pluginNewsContact

For Developers

StatusAPI detailsCLI scanner

Other

PrivacyTerms of serviceSubmission termsDisclosure policyPrivacy Notice for California Users
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us