← Back to CVE Explorer

CVE-2026-54705

Full vulnerability record from the local CVENow database.

Description

MathLive provides web components for math display and input. Prior to 0.110.0, MathLive fails to escape text-mode content in \text{} and \mbox{} commands in Box.toMarkup at src/core/box.ts, in xmlEscape, scanText, and text-mode output in src/formats/atom-to-math-ml.ts, and through convertLatexToMarkup, convertLatexToMathMl, <math-span>, <math-div>, and the default identity MathfieldElement.createHTML, allowing malicious input to run arbitrary JavaScript when rendered. This issue is fixed in version 0.110.0.

Severity
MEDIUM
CVSS score
6.3 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-07-29 18:16:54.857000
Last modified
2026-10-24 13:10:00.147000
View original CVE JSON
{
  "id": "CVE-2026-54705",
  "sourceIdentifier": "[email protected]",
  "published": "2026-07-29T18:16:54.857",
  "lastModified": "2026-10-24T13:10:00.147",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "MathLive provides web components for math display and input. Prior to 0.110.0, MathLive fails to escape text-mode content in \\text{} and \\mbox{} commands in Box.toMarkup at src/core/box.ts, in xmlEscape, scanText, and text-mode output in src/formats/atom-to-math-ml.ts, and through convertLatexToMarkup, convertLatexToMathMl, <math-span>, <math-div>, and the default identity MathfieldElement.createHTML, allowing malicious input to run arbitrary JavaScript when rendered. This issue is fixed in version 0.110.0."
    },
    {
      "lang": "es",
      "value": "MathLive proporciona componentes web para la visualización e introducción de matemáticas. Antes de 0.110.0, MathLive falla al escapar el contenido en modo texto en los comandos \\text{} y \\mbox{} en Box.toMarkup en src/core/box.ts, en xmlEscape, scanText, y la salida en modo texto en src/formats/atom-to-math-ml.ts, y a través de convertLatexToMarkup, convertLatexToMathMl, [math-span], [math-div], y la identidad predeterminada MathfieldElement.createHTML, permitiendo que una entrada maliciosa ejecute JavaScript arbitrario cuando se renderiza. Este problema está solucionado en la versión 0.110.0."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "arnog",
          "product": "mathlive",
          "versions": [
            {
              "version": "< 0.110.0",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
          "baseScore": 6.3,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "availabilityImpact": "LOW"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 3.4
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-07-29T17:54:40.585652Z",
          "id": "CVE-2026-54705",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Primary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-116"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/arnog/mathlive/commit/5fe1c46153883f9ec0249a5c8c34e64aaae9cfb8",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/arnog/mathlive/issues/3028",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/arnog/mathlive/security/advisories/GHSA-fm7p-gw32-828p",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/arnog/mathlive/security/advisories/GHSA-fm7p-gw32-828p",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}