CVE-2022-2861 Cross-site scripting in Chrome

Medium 6.5 Published Updated

An attacker can inject arbitrary scripts into WebUI via a malicious extension and crafted HTML page, requiring user interaction to install the extension.

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
Available

What is CVE-2022-2861?

CVE-2022-2861 is a medium-severity cross-site scripting vulnerability in Fedoraproject Fedora, published on 26 Sep 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

Inappropriate implementation in Extensions API in Google Chrome prior to 104.0.5112.101 allowed an attacker who convinced a user to install a malicious extension to inject arbitrary scripts into WebUI via a crafted HTML page.

Weakness: CWE-79

Which versions are affected by CVE-2022-2861?

It affects 2 products.

Products include Fedoraproject Fedora, Google Chrome.

How do I fix CVE-2022-2861?

Upgrade to a fixed version.

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-2861 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2861 exists.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-2861, GHSA-wfwp-jxjq-2m26, UBUNTU-CVE-2022-2861.

Is CVE-2022-2861 in your software?

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

Check your SBOMs for free