{"schema_version":"1.9.0","id":"GHSA-hhhv-ggjx-q9j2","published":"2024-10-31T21:31:45Z","modified":"2024-11-01T22:12:21.159875Z","aliases":["CVE-2024-42515"],"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.","affected":[{"package":{"name":"glossarizer","ecosystem":"npm","purl":"pkg:npm/glossarizer"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"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"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42515"},{"type":"PACKAGE","url":"https://github.com/PebbleRoad/glossarizer"},{"type":"WEB","url":"https://herolab.usd.de/security-advisories/usd-2024-0011"},{"type":"WEB","url":"https://www.npmjs.com/package/glossarizer"}],"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"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"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"}]}