CVE-2024-42906 Cross-site scripting in n/a

Medium 4.1 Published Updated

An attacker can execute arbitrary scripts in the victim's browser by injecting a malicious payload into the file name during upload in TestLink.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-42906?

CVE-2024-42906 is a medium-severity cross-site scripting vulnerability in n/a, published on 26 Aug 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

TestLink before v.1.9.20 is vulnerable to Cross Site Scripting (XSS) via the pop-up on upload file. When uploading a file, the XSS payload can be entered into the file name.

Weakness: CWE-79

Which versions are affected by CVE-2024-42906?

It affects 1 product.

Products include Testlink Testlink.

How do I fix CVE-2024-42906?

No fix has been published for CVE-2024-42906 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-2024-42906 being exploited?

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

Sources

Also known as GHSA-329h-fcrp-rfh4.

Is CVE-2024-42906 in your software?

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

Check your SBOMs for free