[Pkg-javascript-devel] Bug#1093446: node-katex: CVE-2025-23207
Salvatore Bonaccorso
carnil at debian.org
Sat Jan 18 19:29:01 GMT 2025
Source: node-katex
Version: 0.16.10+~cs6.1.0-2
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil at debian.org, Debian Security Team <team at security.debian.org>
Hi,
The following vulnerability was published for node-katex.
CVE-2025-23207[0]:
| KaTeX is a fast, easy-to-use JavaScript library for TeX math
| rendering on the web. KaTeX users who render untrusted mathematical
| expressions with `renderToString` could encounter malicious input
| using `\htmlData` that runs arbitrary JavaScript, or generate
| invalid HTML. Users are advised to upgrade to KaTeX v0.16.21 to
| remove this vulnerability. Users unable to upgrade should avoid use
| of or turn off the `trust` option, or set it to forbid `\htmlData`
| commands, forbid inputs containing the substring `"\\htmlData"` and
| sanitize HTML output from KaTeX.
If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2025-23207
https://www.cve.org/CVERecord?id=CVE-2025-23207
[1] https://github.com/KaTeX/KaTeX/security/advisories/GHSA-cg87-wmx4-v546
[2] https://github.com/KaTeX/KaTeX/commit/ff289955e81aab89086eef09254cbf88573d415c
Please adjust the affected versions in the BTS as needed.
Regards,
Salvatore
More information about the Pkg-javascript-devel
mailing list