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

Envira Gallery Lite < 1.8.3.3 - Authenticated Stored Cross-Site Scripting

Description

The plugin does not properly sanitise the images metadata (namely title) before outputting them in the generated gallery. This allows privileged accounts such as editor+ to perform XSS attacks (even without the unfiltered_html capability) against users visiting the gallery in the frontend.

Proof of Concept

As an editor+, add an image to a gallery and set its title (via the metadata) to <img src onerror=alert(/XSS/)>. Then view a page where the gallery is embed.

https://drive.google.com/open?id=1G15mMK4mLFV5VUL_vWxpbbBDworjciiM 

Affects Plugins

envira-gallery-lite
Fixed in version 1.8.3.3

References

CVE
CVE-2021-24126
URL
https://plugins.trac.wordpress.org/changeset/2442591

Classification

Type

XSS

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

Miscellaneous

Original Researcher

minhtuanact

Submitter

SunCSR (Sun Cyber Security Research)

Submitter website
http://research.sun-asterisk.com/
Submitter twitter
https://twitter.com/tuanbgpro97
Verified

Yes

WPVDB ID
f3952bd1-ac2f-4007-9e19-6c44a22465f3

Timeline

Publicly Published

2020-12-19 (about 1 years ago)

Added

2020-12-19 (about 1 years ago)

Last Updated

2021-01-20 (about 1 years 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 serviceDisclosure policy
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us