CVE-2022-30875 Cross-site Scripting in Dolibarr

Medium 6.1 Published Updated

Attackers can inject malicious scripts via SQL error pages in Dolibarr, potentially leading to session hijacking or code execution.

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-2022-30875?

CVE-2022-30875 is a medium-severity cross-site scripting vulnerability in Dolibarr Dolibarr Erp\/Crm, published on 8 Jun 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

Dolibarr 12.0.5 is vulnerable to Cross Site Scripting (XSS) via Sql Error Page.

Weakness: CWE-79

Which versions are affected by CVE-2022-30875?

3 open source packages ship an affected version, including dolibarr/dolibarr and dolibarr. It affects 1 product.

PackageAffectedFixed in
dolibarr/dolibarr PackagistAll versionsNone
dolibarr/dolibarr PackagistAll versionsNone
dolibarr BitnamiFrom 12.0.5 to 12.0.5None

Products include Dolibarr Dolibarr Erp\/Crm.

How do I fix CVE-2022-30875?

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

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

All Dolibarr Dolibarr Erp\/Crm vulnerabilities

Sources

Also known as BIT-dolibarr-2022-30875, GHSA-f2g5-426f-353q.

Is CVE-2022-30875 in your software?

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

Check your SBOMs for free