CVE-2019-0186 Cross-site Scripting in Apache Pluto Chatroom demo

Medium 6.1 Published Updated

Cross-site scripting in the Apache Pluto Chat Room demo portlet allows attackers to inject malicious scripts into user sessions.

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-0186?

CVE-2019-0186 is a medium-severity cross-site scripting vulnerability in Apache Pluto, published on 26 Apr 2019. 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

The input fields of the Apache Pluto "Chat Room" demo portlet 3.0.0 and 3.0.1 are vulnerable to Cross-Site Scripting (XSS) attacks. Mitigation: * Uninstall the ChatRoomDemo war file - or - * migrate to version 3.1.0 of the chat-room-demo war file

Weakness: CWE-79

Which versions are affected by CVE-2019-0186?

2 open source packages ship an affected version, including org.apache.portals.pluto:chatRoomDemo. It affects 1 product.

PackageAffectedFixed in
org.apache.portals.pluto:chatRoomDemo MavenFrom 3.0.03.1.0
org.apache.portals.pluto:chatRoomDemo MavenFrom 3.0.03.1.0

Products include Apache Pluto.

How do I fix CVE-2019-0186?

Upgrade org.apache.portals.pluto:chatRoomDemo to 3.1.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-2019-0186 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-w47g-4vrc-m3w2.

Is CVE-2019-0186 in your software?

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

Check your SBOMs for free