CVE-2019-0186 Cross-site Scripting in Apache Pluto Chatroom demo
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.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.portals.pluto:chatRoomDemo Maven | From 3.0.0 | 3.1.0 |
org.apache.portals.pluto:chatRoomDemo Maven | From 3.0.0 | 3.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.
Other vulnerabilities in Apache Pluto
- CVE-2018-1306 Exposure of Sensitive Information in Apache Pluto
- CVE-2021-36737 XSS in V3 Demo Portlet
- CVE-2021-36738 XSS vulnerability in the JSP version of the Apache Pluto Applicant MVCBean CDI portlet
- CVE-2021-36739 XSS vulnerability in the MVCBean JSP portlet maven archetype
- CVE-2020-15250 Information disclosure in JUnit4
Sources
Also known as GHSA-w47g-4vrc-m3w2.