Skip to content

⬆️(dependencies) update katex to v0.16.21 [SECURITY] #2682

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 19, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
katex (source) 0.16.19 -> 0.16.21 age adoption passing confidence

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

  • Avoid use of or turn off the trust option, or set it to forbid \htmlData commands.
  • Forbid inputs containing the substring "\\htmlData".
  • Sanitize HTML output from KaTeX.

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
  • escape \htmlData attribute name (57914ad)

v0.16.20

Compare Source

Bug Fixes

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jan 19, 2025
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from 1b47636 to 87e997c Compare January 29, 2025 07:46
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch 3 times, most recently from 1f1554f to 56cdb76 Compare February 19, 2025 14:30
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch 2 times, most recently from 659f4b6 to 1152d50 Compare March 7, 2025 13:59
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch 2 times, most recently from 10f0db9 to db9245e Compare March 20, 2025 08:38
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch 5 times, most recently from d0449f0 to 5b1d5f2 Compare April 15, 2025 12:49
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from 5b1d5f2 to 71ade64 Compare April 22, 2025 12:23
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch 3 times, most recently from 02917db to e5bfbc7 Compare May 6, 2025 08:04
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch 2 times, most recently from 9c174a7 to a5e8839 Compare May 23, 2025 13:39
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from a5e8839 to 320639c Compare May 26, 2025 15:47
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from 320639c to 1c598df Compare June 6, 2025 16:15
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from 1c598df to 457092c Compare June 12, 2025 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants