CVE-2024-42515 Glossarizer Cross-site Scripting vulnerability

Critical 9.9 Published Updated

Attackers can inject malicious scripts via stored XSS in Glossarizer by exploiting improper HTML conversion of escaped characters.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-42515?

CVE-2024-42515 is a critical cross-site scripting vulnerability in n/a, published on 31 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Glossarizer through 1.5.2 improperly tries to convert text into HTML. Even though the application itself escapes special characters (e.g., <>), the underlying library converts these encoded characters into legitimate HTML, thereby possibly causing stored XSS. Attackers can append a XSS payload to a word that has a corresponding glossary entry.

Weakness: CWE-79

Which versions are affected by CVE-2024-42515?

2 open source packages ship an affected version, including glossarizer.

PackageAffectedFixed in
glossarizer npmAll versions to 1.5.2None
glossarizer npmAll versions to 1.5.2None

How do I fix CVE-2024-42515?

No fix has been published for CVE-2024-42515 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-2024-42515 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-42515 exists.

Sources

Also known as GHSA-hhhv-ggjx-q9j2.

Is CVE-2024-42515 in your software?

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

Check your SBOMs for free