CVE-2022-40704 Cross-site scripting in phoronix-test-suite

Medium 6.1 Published Updated

An XSS vulnerability in Phoronix Test Suite allows attackers to inject malicious scripts, potentially compromising user sessions or data.

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

CVE-2022-40704 is a medium-severity cross-site scripting vulnerability in phoronix-test-suite, published on 17 Jan 2023. 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

A XSS vulnerability was found in phoromatic_r_add_test_details.php in phoronix-test-suite.

Weakness: CWE-79

Which versions are affected by CVE-2022-40704?

It affects 1 product.

Linux distribution packages (1)
phoronix-test-suite openSUSE:TumbleweedAll versions10.8.4-3.1

Products include Phoronix-Media Phoronix Test Suite.

How do I fix CVE-2022-40704?

Apply the vendor's patch.

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

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

Sources

Also known as GHSA-9447-mqqf-hxwj, MGASA-2023-0022, UBUNTU-CVE-2022-40704, openSUSE-SU-2024:12555-1.

Is CVE-2022-40704 in your software?

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

Check your SBOMs for free