Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 19, 2025

This PR contains the following updates:

Package Change Age Confidence
katex (source) 0.16.19 -> 0.16.21 age 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 4 times, most recently from 32be69f to 558f001 Compare June 13, 2025 09:44
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch 5 times, most recently from 2f04669 to e18bb1b Compare June 25, 2025 17:09
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch 3 times, most recently from 105e3c9 to 06bdd8e Compare July 7, 2025 09:21
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch 4 times, most recently from 8afc4c5 to 8ac3c67 Compare July 15, 2025 13:38
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch 3 times, most recently from 7576c66 to d5c6f0d Compare July 17, 2025 17:04
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from d5c6f0d to c246a40 Compare October 24, 2025 11:22
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.

1 participant