CVE-2022-22293 Cross site scripting in dolibarr

Medium 5.4 Published Updated

An attacker can inject malicious HTML into the Dolibarr admin interface via the MAIN_MAX_DECIMALS_TOT parameter, potentially leading to session hijacking or data theft.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-22293?

CVE-2022-22293 is a medium-severity cross-site scripting vulnerability in Dolibarr Dolibarr Erp\/Crm, published on 1 Jan 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

admin/limits.php in Dolibarr 7.0.2 allows HTML injection, as demonstrated by the MAIN_MAX_DECIMALS_TOT parameter.

Weakness: CWE-79

Which versions are affected by CVE-2022-22293?

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

PackageAffectedFixed in
dolibarr/dolibarr PackagistAll versions13.0.0
dolibarr/dolibarr PackagistAll versions13.0.0
dolibarr BitnamiFrom 7.0.2 to 7.0.2None

Products include Dolibarr Dolibarr Erp\/Crm.

How do I fix CVE-2022-22293?

Upgrade dolibarr/dolibarr to 13.0.0 or later.

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

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

All Dolibarr Dolibarr Erp\/Crm vulnerabilities

Sources

Also known as BIT-dolibarr-2022-22293, GHSA-g5jm-xhwm-9xp9, UBUNTU-CVE-2022-22293.

Is CVE-2022-22293 in your software?

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

Check your SBOMs for free