CVE-2023-26042 HTML/XSS injection possibilities in Part-DB

Medium 6.1 Published Updated

Attackers can inject arbitrary HTML into Part-DB pages due to improper escaping, potentially altering content or bypassing security controls.

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-2023-26042?

CVE-2023-26042 is a medium-severity cross-site scripting vulnerability in Part-DB-server, published on 27 Feb 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

Part-DB is an open source inventory management system for your electronic components. User input was found not being properly escaped, which allowed malicious users to inject arbitrary HTML into the pages. The Content-Security-Policy forbids inline and external scripts so it is not possible to execute JavaScript code, unless in combination with other vulnerabilities. There are no workarounds, please upgrade to Pat-DB 1.0.2 or later.

Weakness: CWE-79

Which versions are affected by CVE-2023-26042?

It affects 1 product.

Products include Part-Db Project Part-Db.

How do I fix CVE-2023-26042?

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

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

Sources

Also known as GHSA-9pmh-gmxx-rg2x.

Is CVE-2023-26042 in your software?

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

Check your SBOMs for free