Security mailing lists by PureSourceCode

CVE-2018-1999024

MEDIUM 5.4CVSS 3.0

Macro in MathJax running untrusted Javascript within a web browser

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.

Published
23 Jul 2018
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-3c48-6pcv-88rm
Sources
NVDJSONOSV GHSA-3c48-6pcv-88rmJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 5.4 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
OSV GitHub CVSS 3.0 MEDIUM 5.4 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mathjax mathjax
cpe:2.3:a:mathjax:mathjax:*:*:*:*:*:*:*:*
< 2.7.4 2.7.4
OSV npm mathjax < 2.7.4 2.7.4

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 23 Jul 2018)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 27 Jul 2018)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.