GitHub Advisoryadvisory · npm

GHSA-hhhv-ggjx-q9j2 Glossarizer Cross-site Scripting vulnerability

MEDIUM Published 2024-10-31 Modified 2024-11-01 Official page ↗
Aliases
CVE-2024-42515
Ecosystem
npm
Packages
glossarizer
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2024-11-01

Affected packages

• npm glossarizer: <= 1.5.2 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2024-42515 Glossarizer through 1.5.2 improperly tries to convert text into HTML. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References