CVE-2024-42515
JavaScript vulnerability analysis and mitigation

Overview

CVE-2024-42515 affects Glossarizer through version 1.5.2, a jQuery plugin for creating glossaries. The vulnerability was discovered in March 2024 and publicly disclosed in October 2024. The issue stems from improper text-to-HTML conversion where the application's special character escaping is bypassed by the underlying library (USD Advisory, NVD).

Technical details

The vulnerability occurs in the jquery.glossarize.js file's .html() function. While the application itself attempts to escape special characters (like <>) properly, the underlying library converts these encoded characters back into legitimate HTML. This bypass of the sanitization mechanism enables stored Cross-Site Scripting (XSS) attacks. The vulnerability has been assigned a CVSS v3.1 base score of 9.9 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L (USD Advisory).

Impact

The vulnerability allows attackers to execute arbitrary JavaScript code by appending XSS payloads to words that have corresponding glossary entries. When the malicious content is processed by the library, it gets converted into active HTML, potentially leading to client-side code execution in the context of other users' browsers (USD Advisory).

Mitigation and workarounds

As of the latest reports, no official fix has been released. The USD Advisory suggests replacing the .html() function and implementing proper escaping of special characters before injecting HTML into the page. Users of Glossarizer should assess the risk and consider implementing additional input sanitization or exploring alternative solutions (USD Advisory).

Community reactions

The vulnerability was discovered by Kai Glauber and Samir Benzammour of usd AG. Multiple attempts to contact the developers were unsuccessful, leading to the public disclosure of the vulnerability without a patch. The repository was subsequently set to private, though the package remains available on npm (USD Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22610HIGH8.5
  • JavaScriptJavaScript
  • angular.js
NoYesJan 10, 2026
CVE-2026-22595HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22594HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22596MEDIUM6.7
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22597LOW2
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management