| Package | Affected versions | Patched versions |
|---|---|---|
| katex | ≥ 0.11.0, < 0.16.10 | 0.16.10 |
| katex | ≥ 0.11.0, < 0.16.10 | 0.16.10 |
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.
trust option, or set it to forbid \includegraphics commands."\\includegraphics".\includegraphics did not properly quote its filename argument, allowing it to generate invalid or malicious HTML that runs scripts.
If you have any questions or comments about this advisory:
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free