CVE-2023-25827 Cross-site Scripting in OpenTSDB

High 8.2 Published Updated

Attackers can inject malicious JavaScript into OpenTSDB error messages, executing code in victim browsers via the legacy HTTP query API.

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
None listed

What is CVE-2023-25827?

CVE-2023-25827 is a high-severity cross-site scripting vulnerability in OpenTSDB, published on 3 May 2023. 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

Due to insufficient validation of parameters reflected in error messages by the legacy HTTP query API and the logging endpoint, it is possible to inject and execute malicious JavaScript within the browser of a targeted OpenTSDB user. This issue shares the same root cause as CVE-2018-13003, a reflected XSS vulnerability with the suggestion endpoint.

Weakness: CWE-79

Which versions are affected by CVE-2023-25827?

2 open source packages ship an affected version, including net.opentsdb:opentsdb. It affects 1 product.

PackageAffectedFixed in
net.opentsdb:opentsdb MavenAll versions to 2.4.1None
net.opentsdb:opentsdb MavenAll versions to 2.4.1None

Products include Opentsdb Opentsdb.

How do I fix CVE-2023-25827?

No fix has been published for CVE-2023-25827 yet. Limit exposure of the affected software until one is available.

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-2023-25827 being exploited?

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

Sources

Also known as GHSA-9chv-3w6c-jq9w.

Is CVE-2023-25827 in your software?

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

Check your SBOMs for free