CVE-2021-45071 Cross-site scripting in Odoo Community

Medium 5.3 Published Updated

Remote attackers can inject arbitrary web script into victim browsers via crafted uploaded file names in Odoo Community and Enterprise.

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
Available

What is CVE-2021-45071?

CVE-2021-45071 is a medium-severity cross-site scripting vulnerability in Odoo Odoo, published on 25 Apr 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

Cross-site scripting (XSS) issue Odoo Community 15.0 and earlier and Odoo Enterprise 15.0 and earlier, allows remote attackers to inject arbitrary web script in the browser of a victim, via crafted uploaded file names.

Weakness: CWE-79

Which versions are affected by CVE-2021-45071?

1 open source package ship an affected version, including odoo. It affects 1 product.

PackageAffectedFixed in
odoo BitnamiAll versions15.0.1

Products include Odoo Odoo.

How do I fix CVE-2021-45071?

Upgrade odoo to 15.0.1 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-2021-45071 being exploited?

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

All Odoo Odoo vulnerabilities

Sources

Also known as BIT-odoo-2021-45071, DEBIAN-CVE-2021-45071, GHSA-gqc6-9j5g-4r72, UBUNTU-CVE-2021-45071.

Is CVE-2021-45071 in your software?

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

Check your SBOMs for free