CVE-2019-20525 Ignite Realtime Openfire allows Cross-site Scripting

Medium 6.1 Published Updated

Cross-site scripting in Openfire setup allows attackers to inject scripts via the driver parameter, potentially leading to session hijacking or code execution.

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-2019-20525?

CVE-2019-20525 is a medium-severity cross-site scripting vulnerability in n/a, published on 19 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

Ignite Realtime Openfire 4.4.1 allows XSS via the setup/setup-datasource-standard.jsp driver parameter.

Weakness: CWE-79

Which versions are affected by CVE-2019-20525?

2 open source packages ship an affected version, including org.igniterealtime.openfire:parent. It affects 1 product.

PackageAffectedFixed in
org.igniterealtime.openfire:parent MavenAll versions4.4.2
org.igniterealtime.openfire:parent MavenAll versions4.4.2

Products include Igniterealtime Openfire.

How do I fix CVE-2019-20525?

Upgrade org.igniterealtime.openfire:parent to 4.4.2 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-2019-20525 being exploited?

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

Sources

Also known as GHSA-h2mq-p9r5-wh94.

Is CVE-2019-20525 in your software?

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

Check your SBOMs for free