CVE-2020-10544 Cross-site Scripting in PrimeFaces

Medium 6.1 Published Updated

Attackers can inject JavaScript via unvalidated tooltip input in PrimeFaces, leading to cross-site scripting attacks in web applications.

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

CVE-2020-10544 is a medium-severity cross-site scripting vulnerability in n/a, published on 13 Mar 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

An XSS issue was discovered in tooltip/tooltip.js in PrimeTek PrimeFaces 7.0.11. In a web application using PrimeFaces, an attacker can provide JavaScript code in an input field whose data is later used as a tooltip title without any input validation.

Weakness: CWE-79

Which versions are affected by CVE-2020-10544?

4 open source packages ship an affected version, including org.primefaces:primefaces and primefaces. It affects 1 product.

PackageAffectedFixed in
org.primefaces:primefaces MavenAll versions8.0
org.primefaces:primefaces MavenAll versions8.0
primefaces npmAll versions8.0
primefaces npmAll versions8.0

Products include Primetek Primefaces.

How do I fix CVE-2020-10544?

Upgrade org.primefaces:primefaces to 8.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-2020-10544 being exploited?

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

Sources

Also known as GHSA-fw5f-7c6c-3vmv.

Is CVE-2020-10544 in your software?

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

Check your SBOMs for free