Skip to content
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

fix(deps): update dependency katex to v0.16.21 [security] #6424

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 17, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
katex (source) 0.16.10 -> 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

v0.16.19

Compare Source

Bug Fixes

v0.16.18

Compare Source

Bug Fixes

v0.16.17

Compare Source

Bug Fixes
  • MathML combines multidigit numbers with sup/subscript, comma separators, and multicharacter text when outputting to DOM (#​3999) (7d79e22), closes #​3995

v0.16.16

Compare Source

Features

v0.16.15

Compare Source

Features
  • italic sans-serif in math mode via \mathsfit command (#​3998) (2218901)

v0.16.14

Compare Source

Features

v0.16.13

Compare Source

Bug Fixes

v0.16.12

Compare Source

Features

v0.16.11

Compare Source

Features

Configuration

📅 Schedule: Branch creation - "" in timezone Europe/Paris, 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.


  • 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 17, 2025
@renovate renovate bot enabled auto-merge (squash) January 17, 2025 22:38
Copy link

socket-security bot commented Jan 17, 2025

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from d13ce3a to 7fdb247 Compare January 20, 2025 14:54
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from 7fdb247 to 0937b7f Compare January 21, 2025 10:20
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from 0937b7f to fbca246 Compare January 21, 2025 12:08
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from fbca246 to 7e722d8 Compare January 21, 2025 12:19
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from 7e722d8 to 0ee6aef Compare January 21, 2025 13:36
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from 0ee6aef to 642f79c Compare January 23, 2025 09:05
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from 642f79c to 51e50e3 Compare January 23, 2025 10:35
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from 51e50e3 to dec89a3 Compare January 28, 2025 10:39
Copy link

socket-security bot commented Jan 28, 2025

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher

🚮 Removed packages: npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from dec89a3 to 0215f0f Compare January 28, 2025 16:02
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from 0215f0f to 016eb3f Compare January 30, 2025 16:54
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from 016eb3f to 7e9757e Compare February 3, 2025 10:55
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from 7e9757e to 14833bc Compare February 4, 2025 14:02
@renovate renovate bot force-pushed the renovate/npm-katex-vulnerability branch from 9f14a0f to 63481ab Compare February 6, 2025 09:07
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