CVE-2022-27920 Cross-site scripting in n/a

Medium 6.1 Published Updated

Cross-site scripting in the Kiwix library's built-in webserver allows attackers to execute arbitrary scripts via the search suggestions URL parameter.

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-27920?

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

libkiwix 10.0.0 and 10.0.1 allows XSS in the built-in webserver functionality via the search suggestions URL parameter. This is fixed in 10.1.0.

Weakness: CWE-79

Which versions are affected by CVE-2022-27920?

It affects 2 products.

Products include Fedoraproject Fedora, Kiwix Libkiwix.

How do I fix CVE-2022-27920?

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

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-27920, GHSA-f9mc-pgcm-862f, UBUNTU-CVE-2022-27920.

Is CVE-2022-27920 in your software?

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

Check your SBOMs for free