CVE-2026-116169: Katex Trust Boolean Without Url Protocol Whitelist

KaTeX is configured with `trust` bound to an inline boolean (or the literal `true`) instead of a per-URL validating callback. A boolean `trust` enables the trusted LaTeX commands (\href, \url, \includegraphics) for the whole render without any URL protocol decision, so KaTeX writes the author-supplied URL verbatim into a[href] / img[src]; KaTeX escapes attri

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0TS
greprules fetch cve-2026-116169-katex-trust-boolean-without-url-protocol-whitelist --engine opengrep

Description

KaTeX is configured with `trust` bound to an inline boolean (or the literal `true`) instead of a per-URL validating callback. A boolean `trust` enables the trusted LaTeX commands (\href, \url, \includegraphics) for the whole render without any URL protocol decision, so KaTeX writes the author-supplied URL verbatim into a[href] / img[src]; KaTeX escapes attri