Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-23207

published medium CVSS 3.1 · 6.3

\htmlData does not validate attribute names in KaTeX

Published
17 Jan 2025, 21:25:05 UTC
Updated
17 Jan 2025, 21:32:24 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
KaTeX — KaTeX>= 0.12.0, < 0.16.21 Affected Not stated GitHub_M
Ubuntu jammy fonts-katex Advisory build 0.13.11+~cs6.0.0-2ubuntu0.1~esm1 USN-7572-1
Ubuntu jammy katex Advisory build 0.13.11+~cs6.0.0-2ubuntu0.1~esm1 USN-7572-1
Ubuntu jammy libjs-katex Advisory build 0.13.11+~cs6.0.0-2ubuntu0.1~esm1 USN-7572-1
Ubuntu jammy node-katex Advisory build 0.13.11+~cs6.0.0-2ubuntu0.1~esm1 USN-7572-1
Ubuntu noble fonts-katex Advisory build 0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1 USN-7572-1
Ubuntu noble katex Advisory build 0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1 USN-7572-1
Ubuntu noble libjs-katex Advisory build 0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1 USN-7572-1
Show 1 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu noble node-katex Advisory build 0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1 USN-7572-1

Description

KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions with `renderToString` could encounter malicious input using `\htmlData` that runs arbitrary JavaScript, or generate invalid HTML. Users are advised to upgrade to KaTeX v0.16.21 to remove this vulnerability. Users unable to upgrade should avoid use of or turn off the `trust` option, or set it to forbid `\htmlData` commands, forbid inputs containing the substring `"\\htmlData"` and sanitize HTML output from KaTeX.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.3 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
KaTeX KaTeX >= 0.12.0, < 0.16.21 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-116 CWE-116: Improper Encoding or Escaping of Output (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

\htmlData does not validate attribute names in KaTeX

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.1
Searchable
yes
Content hash
dc5ac7ac2d191134fc5f08442c8d53b2ffd70ad96c7bc434f5b310d534d7ff34
Ingested
23 Sep 2026, 08:40:42 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected