Advisory

GHSA-3c48-6pcv-88rm

Also known as: CVE-2018-1999024

Summary

Macro in MathJax running untrusted Javascript within a web browser

Details

MathJax version prior to version 2.7.4 contains a Cross Site Scripting (XSS) vulnerability in the \unicode{} macro that can result in Potentially untrusted Javascript running within a web browser. This attack appear to be exploitable via The victim must view a page where untrusted content is processed using Mathjax. This vulnerability appears to have been fixed in 2.7.4 and later.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2018-07-27 17:05 UTC
Modified
2023-11-08 04:00 UTC

Affected packages and fixes

mathjax

npm · All systems

Affected

  • introduced 0, fixed 2.7.4 (semver)

Fixed versions

2.7.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences