Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-1999024

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-1999024
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:43 UTC · Revision 1

Source evidence

CVE-2018-1999024

core-osv · Original source

Published 23 Jul 2018, 16:29 UTC

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.

osv:CVE-2018-1999024
Complete source record
{
  "id": "25f8658b906fb5766aac8799c3939224b7d822cc09739976cb81020a5f61349b",
  "url": "https://osv.dev/vulnerability/CVE-2018-1999024",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-1999024",
    "summary": "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.",
    "evidence": "osv:CVE-2018-1999024",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-1999024",
      "aliases": [
        "CVE-2018-1999024",
        "GHSA-3c48-6pcv-88rm"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mathjax/mathjax",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "50c333cc695066b9d27f713035b44c9ef78ab658"
                },
                {
                  "fixed": "a55da396c18cafb767a26aa9ad96f6f4199852f1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mathjax:mathjax:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.7.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a55da396c18cafb767a26aa9ad96f6f4199852f1"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.7.3",
            "2.7.2",
            "2.7.2-beta.1",
            "2.7.2-rc",
            "2.7.2-beta.0",
            "2.7.1",
            "2.7.0",
            "2.6.1",
            "2.6.0",
            "2.5.3",
            "2.5.2",
            "2.5.1",
            "2.5.0",
            "2.4.0",
            "2.2.0",
            "2.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1999024.json"
          }
        }
      ],
      "modified": "2026-10-20T10:51:34.671930251Z",
      "provider": "osv",
      "references": [
        "https://github.com/mathjax/MathJax/commit/a55da396c18cafb767a26aa9ad96f6f4199852f1",
        "https://blog.bentkowski.info/2018/06/xss-in-google-colaboratory-csp-bypass.html"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-1999024",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 382592,
  "published_at": "2018-07-23T16:29:00.32+00:00"
}