GHSA-hhhv-ggjx-q9j2

Suggest an improvement
Source
https://github.com/advisories/GHSA-hhhv-ggjx-q9j2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-hhhv-ggjx-q9j2/GHSA-hhhv-ggjx-q9j2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hhhv-ggjx-q9j2
Aliases
  • CVE-2024-42515
Published
2024-10-31T21:31:45Z
Modified
2024-11-01T22:12:21Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • 5.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N CVSS Calculator
Summary
Glossarizer Cross-site Scripting vulnerability
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2024-11-01T21:37:50Z",
    "nvd_published_at":  "2024-10-31T19:15:12Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / glossarizer

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
1.5.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-hhhv-ggjx-q9j2/GHSA-hhhv-ggjx-q9j2.json"