SecurityContext

CVE-2024-28245: KaTeX - Stored XSS

  • Cve: CVE-2024-28245
  • Name: KaTeX - Stored XSS
  • Description: KaTeX is a JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions could encounter malicious input using `\includegraphics` that runs arbitrary JavaScript, or generate invalid HTML. Upgrade to KaTeX v0.16.10 to remove this vulnerability.
  • Impact: Attackers can execute arbitrary JavaScript in the context of the webpage, leading to potential data theft or session hijacking.
  • Remediation: Upgrade to KaTeX v0.16.10 to mitigate this vulnerability.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to render malicious expressions
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00406
  • Epss percentile: 0.35633
  • Assignee: [email protected]
  • Published at: 2024-03-25T20:15:08Z
  • Age in days: 974
  • Modified at: 2026-06-17T07:21:15Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-28245
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-116Improper Encoding or Escaping of Output

References

UrlSourceTags
https://github.com/KaTeX/KaTeX/commit/c5897fcd1f73da9612a53e6b5544f1d776e17770nvdPatch
https://github.com/KaTeX/KaTeX/security/advisories/GHSA-f98w-7cxr-ff2hnvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
katex:katex>= 0.11.0, < 0.16.10nonvd/v1/products/katex/katex

Projects

RepositoryLink kindsIndexedUrl
KaTeX/KaTeXcommit, fix, package, security_advisoryyes/v1/repositories/KaTeX/KaTeX

Index

  • Repositories: 72
  • Repositories high signal: 43
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts