CVE-2015-3935 Dolibarr ERP and CRM contain Cross-site Scripting Vulnerability

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script via the Business Search field in Dolibarr ERP/CRM, potentially stealing user data or hijacking sessions.

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-2015-3935?

CVE-2015-3935 is a medium-severity cross-site scripting vulnerability in n/a, published on 10 Jun 2015. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Multiple cross-site scripting (XSS) vulnerabilities in Dolibarr ERP/CRM 3.5 and 3.6 allow remote attackers to inject arbitrary web script or HTML via the Business Search (search_nom) field to (1) htdocs/societe/societe.php or (2) htdocs/societe/admin/societe.php.

Weakness: CWE-79

Which versions are affected by CVE-2015-3935?

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

PackageAffectedFixed in
dolibarr/dolibarr PackagistFrom 3.5.03.5.8
dolibarr/dolibarr PackagistFrom 3.5.03.5.8

Products include Dolibarr Dolibarr.

How do I fix CVE-2015-3935?

Upgrade dolibarr/dolibarr to 3.5.8 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-2015-3935 being exploited?

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

Sources

Also known as GHSA-6fw8-vf2x-4wpm.

Is CVE-2015-3935 in your software?

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

Check your SBOMs for free