Update dependency katex to v0.16.21 [SECURITY] #6200
+1,993
−637
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.16.11
->0.16.21
GitHub Vulnerability Alerts
CVE-2025-23207
Impact
KaTeX users who render untrusted mathematical expressions with
renderToString
could encounter malicious input using\htmlData
that runs arbitrary JavaScript, or generate invalid HTML.Patches
Upgrade to KaTeX v0.16.21 to remove this vulnerability.
Workarounds
trust
option, or set it to forbid\htmlData
commands."\\htmlData"
.Details
\htmlData
did not validate its attribute name argument, allowing it to generate invalid or malicious HTML that runs scripts.For more information
If you have any questions or comments about this advisory:
Release Notes
KaTeX/KaTeX (katex)
v0.16.21
Compare Source
Bug Fixes
v0.16.20
Compare Source
Bug Fixes
v0.16.19
Compare Source
Bug Fixes
strict
function type (#4009) (4228b4e)v0.16.18
Compare Source
Bug Fixes
v0.16.17
Compare Source
Bug Fixes
v0.16.16
Compare Source
Features
v0.16.15
Compare Source
Features
\mathsfit
command (#3998) (2218901)v0.16.14
Compare Source
Features
v0.16.13
Compare Source
Bug Fixes
\vdots
and\rule
support in text mode (#3997) (0e08352), closes #3990v0.16.12
Compare Source
Features
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.