CVE-2018-12432 Cross-site Scripting in JavaMelody

Medium 6.1 Published Updated

Attackers can execute arbitrary scripts in victim browsers via the counter parameter in JavaMelody monitoring actions.

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-2018-12432?

CVE-2018-12432 is a medium-severity cross-site scripting vulnerability in n/a, published on 14 Jun 2018. 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

JavaMelody through 1.60.0 has XSS via the counter parameter in a clear_counter action to the /monitoring URI.

Weakness: CWE-79

Which versions are affected by CVE-2018-12432?

2 open source packages ship an affected version, including net.bull.javamelody:javamelody-core. It affects 1 product.

PackageAffectedFixed in
net.bull.javamelody:javamelody-core MavenAll versions1.61.0
net.bull.javamelody:javamelody-core MavenAll versions1.61.0

Products include Javamelody Project Javamelody.

How do I fix CVE-2018-12432?

Upgrade net.bull.javamelody:javamelody-core to 1.61.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-2018-12432 being exploited?

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

Sources

Also known as GHSA-g66q-grxc-64j3.

Is CVE-2018-12432 in your software?

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

Check your SBOMs for free