{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-54705",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-06-15T22:58:06.563Z",
        "datePublished": "2026-07-29T17:21:20.414Z",
        "dateUpdated": "2026-07-29T17:54:49.618Z"
    },
    "containers": {
        "cna": {
            "title": "mathlive's Lack of Escaping of HTML allows for XSS",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-116",
                            "lang": "en",
                            "description": "CWE-116: Improper Encoding or Escaping of Output",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "LOW",
                        "baseScore": 6.3,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/arnog/mathlive/security/advisories/GHSA-fm7p-gw32-828p",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/arnog/mathlive/security/advisories/GHSA-fm7p-gw32-828p"
                },
                {
                    "name": "https://github.com/arnog/mathlive/issues/3028",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/arnog/mathlive/issues/3028"
                },
                {
                    "name": "https://github.com/arnog/mathlive/commit/5fe1c46153883f9ec0249a5c8c34e64aaae9cfb8",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/arnog/mathlive/commit/5fe1c46153883f9ec0249a5c8c34e64aaae9cfb8"
                }
            ],
            "affected": [
                {
                    "vendor": "arnog",
                    "product": "mathlive",
                    "versions": [
                        {
                            "version": "< 0.110.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-07-29T17:21:20.414Z"
            },
            "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."
                }
            ],
            "source": {
                "advisory": "GHSA-fm7p-gw32-828p",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/arnog/mathlive/security/advisories/GHSA-fm7p-gw32-828p",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-07-29T17:54:40.585652Z",
                                "id": "CVE-2026-54705",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-07-29T17:54:49.618Z"
                }
            }
        ]
    }
}