CVE-2020-1943 Cross-site scripting in Apache OFBiz

Medium 6.1 Published Updated

Unsanitized contentId in Apache OFBiz allows XSS attacks, potentially leading to code execution or account takeover.

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-2020-1943?

CVE-2020-1943 is a medium-severity cross-site scripting vulnerability in Apache Ofbiz, published on 1 Apr 2020. 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

Data sent with contentId to /control/stream is not sanitized, allowing XSS attacks in Apache OFBiz 16.11.01 to 16.11.07.

Weakness: CWE-79

Which versions are affected by CVE-2020-1943?

It affects 1 product.

Products include Apache Ofbiz.

How do I fix CVE-2020-1943?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-1943 exists.

Public exploit code: 1 Nuclei template.

All Apache Ofbiz vulnerabilities

Sources

Also known as GHSA-pmjx-2693-rfj2.

Is CVE-2020-1943 in your software?

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

Check your SBOMs for free