#1149653 node-katex: CVE-2026-103923

Package:
src:node-katex
Source:
src:node-katex
Submitter:
Salvatore Bonaccorso
Date:
2026-10-03 07:21:03 UTC
Severity:
normal
Tags:
#1149653#5
Date:
2026-10-01 21:37:27 UTC
From:
To:
Hi,

The following vulnerability was published for node-katex.

CVE-2026-103923[0]:
| KaTeX is a fast, easy-to-use JavaScript library for TeX math
| rendering on the web. From 0.11.0 until 0.18.2, KaTeX uses ordinary
| JavaScript property access for the renderer options object, the
| trust setting, default and processor setting metadata, and namespace
| lookup and group restoration, allowing inherited properties to be
| treated as explicitly supplied values. When Object.prototype is
| already polluted or an attacker controls the options object's
| prototype, attacker-controlled mathematical expressions can use an
| inherited trust value to enable trusted rendering and produce links
| capable of user-interaction cross-site scripting or loading
| attacker-selected external resources in a consuming application that
| inserts unsanitized KaTeX output into a page. KaTeX does not itself
| create the prototype pollution, and rendering an expression alone
| does not execute script. This issue is fixed in version 0.18.2.


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-2026-103923
https://www.cve.org/CVERecord?id=CVE-2026-103923
[1] https://github.com/KaTeX/KaTeX/security/advisories/GHSA-238p-pmpm-9mq7
[2] https://github.com/KaTeX/KaTeX/pull/4260
[3] https://github.com/KaTeX/KaTeX/commit/0adf7e77db6915d991803b29699f82b1ccf8d4f4

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

#1149653#8
Date:
2026-10-03 06:55:50 UTC
From:
To:
Hello,

Bug #1149653 in node-katex reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/js-team/node-katex/-/commit/a4d633fee76bb4506cca0f59dbb09980260ecf65

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1149653

#1149653#15
Date:
2026-10-03 07:20:16 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-katex, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1149653@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Xavier Guimard <yadd@debian.org> (supplier of updated node-katex package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 03 Oct 2026 08:53:42 +0200
Source: node-katex
Architecture: source
Version: 0.16.10+~cs6.1.0-10
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1149653
Changes:
 node-katex (0.16.10+~cs6.1.0-10) unstable; urgency=medium
 .
   * Team upload
   * Prevent prototype pollution in settings, namespace lookup and group
     restoration (Closes: #1149653, CVE-2026-103923)
Checksums-Sha1:
 b2b38ffe5c909050a6aa512445442e58068fd644 3471 node-katex_0.16.10+~cs6.1.0-10.dsc
 6a4ebc5451d9756eb16858b74ea66212a6ec99d8 40444 node-katex_0.16.10+~cs6.1.0-10.debian.tar.xz
Checksums-Sha256:
 e9d1c3482823a26d0003ffd95566959e562603af52558031e401490270857d8a 3471 node-katex_0.16.10+~cs6.1.0-10.dsc
 a33c38ea17a985a7abbdc0a8b4ce09b08b718eafba9fa21b37a2f378eff5d8d6 40444 node-katex_0.16.10+~cs6.1.0-10.debian.tar.xz
Files:
 b1f9c5c4f13d8a0016bfd75838e449bd 3471 javascript optional node-katex_0.16.10+~cs6.1.0-10.dsc
 7d70303baad6efa51469780808844cbc 40444 javascript optional node-katex_0.16.10+~cs6.1.0-10.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmrApuIACgkQ9tdMp8mZ
7ul4dQ/+N/4Civ2HJcEPmLKFVmNksa6QlB7pV0C8Zkj+XTl39RqiYzwi7uCJ/jTe
UGjILOtjr3323MwZj6E//764r5hrl4JzaDTRf/FxMcpz7KJY+tPRqBGBs9UYiiwD
AzHAnCX8KdhLx4lKukPv80Ozw2v98JbHKNp/4WZGGK7rQsS42Nr8e1PUjOveEkla
goObS7N9Y2zecBIGP4Lvi/V97TA6qYx7ZP+b2jI1MlNMTmvaPx8mlt0pFepzGHRm
rqDnZysbiptL9HgVjlOnnMYKCqyhNsmfgxZrZ9D1Xc4DF7y+oMoCAE87aN7hQB0f
BnH6eIaj5Cg/Kskccw7s/jeK3fq4MMqzsaNX4uC58sao6adZkn2vGqHj614SdBMr
AuUB5uoCUvr3QEJ0Q1L/zY8/Em1lojHJM2AJADbeyf3nZbifIRnxhGkcf8TiMtNX
pkcQdI51yhhB393ca7M+0CrddkQlY+C46ZU0jMNYAOGIPAWMDmZstG08AUGj5+Tr
48g7/Md1ShNu8P1kPT4bYJzH3rXa/dYwzHmJVZcNKrZBQz5wdey5wUuXTS0q7iEc
31CBXq6ba9BsUv2UlCTUzdMURqxMG2szlQo92IwoSsmw204VpusD58rTax84c757
Q/PIy1CcuctAPdOtQgRBiXjAxHmFfh3rGs4o91Nj6d2OVWu/w2w=
=ROOt
-----END PGP SIGNATURE-----