Vulnerability library
Security checkApril 02, 2025

MathLive's Lack of Escaping of HTML allows for XSS

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmmathlive

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Despite normal text rendering as LaTeX expressions, preventing XSS, the library also provides users with commands which may modify HTML, such as the \htmlData command, and the lack of escaping leads to XSS.

Recommendation

Update the mathlive package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 0.103.0
  • Patched version(s): 0.104.0

References

Could your website be exposed too?

SmartScanner can check your website for MathLive's Lack of Escaping of HTML allows for XSS and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated April 02, 2025