CVE-2022-0431 Google Pagespeed Insights < 4.0.4 - Reflected Cross-Site Scripting

Medium 6.1 Published Updated

Reflected Cross-Site Scripting in the Insights from Google PageSpeed WordPress plugin allows attackers to execute arbitrary scripts in the settings dashboard.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-0431?

CVE-2022-0431 is a medium-severity cross-site scripting vulnerability in Unknown Insights from Google PageSpeed, published on 4 Apr 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The Insights from Google PageSpeed WordPress plugin before 4.0.4 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

Weakness: CWE-79

Which versions are affected by CVE-2022-0431?

It affects 1 product.

Products include Insights From Google Pagespeed Project Insights From Google Pagespeed.

How do I fix CVE-2022-0431?

No fix has been published for CVE-2022-0431 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2022-0431 being exploited?

There is no known exploitation of CVE-2022-0431 in the wild and no public exploit code.

Sources

Also known as GHSA-h35h-vw7m-8g5m.

Is CVE-2022-0431 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free