n/a · Vulnerability
cve-program · CVE-2025-29049
PublishedCross Site Scripting vulnerability in arnog MathLive Versions v0.103.0 and before (fixed in 0.104.0) allows an attacker to execute arbitrary code via the MathLive function.
Read the publisher's advisoryeuvd · EUVD-2025-9490
PublishedCross Site Scripting vulnerability in arnog MathLive Versions v0.103.0 and before (fixed in 0.104.0) allows an attacker to execute arbitrary code via the MathLive function.
Read the publisher's advisorynvd · CVE-2025-29049
PublishedCross Site Scripting vulnerability in arnog MathLive Versions v0.103.0 and before (fixed in 0.104.0) allows an attacker to execute arbitrary code via the MathLive function.
Read the publisher's advisoryosv · GHSA-929m-phjg-qwcc
Withdrawn### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-qwj6-q94f-8425. This link is maintained to preserve external references. ### Original Description Cross Site Scripting vulnerability in arnog MathLive Versions v0.103.0 and before (fixed in 0.104.0) allows an attacker to execute arbitrary code via the MathLive function.
Read the publisher's advisoryosv · GHSA-qwj6-q94f-8425
Published### Summary Despite normal text rendering as LaTeX expressions, preventing XSS, the library also provides users with commands which may modify HTML, such as the `\htmlData` command, and the lack of escaping leads to XSS. ### Details Overall in the code, other than in the `test` folder, no functions escaping HTML can be seen. ### PoC 1. Go to https://cortexjs.io/mathlive/demo/ 2. Paste either `\htmlData{><img/onerror=alert(1)"src=}{}` or `\htmlData{x=" ><img/onerror=alert(1) src>}{}` in the LaTeX textarea. ### Impact MathLive users who render untrusted mathematical expressions could encounter malicious input using \htmlData that runs arbitrary JavaScript, or generate invalid HTML.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2025-29049 · CVE overview and exploitation status
cve-program · CVE-2025-29049
- https://github.com/advisories/GHSA-qwj6-q94f-8425
- https://github.com/arnog/mathlive/commit/abc26056fd5e29a99edfa96a0bbe855ea2a8b678
euvd · EUVD-2025-9490
- https://github.com/advisories/GHSA-qwj6-q94f-8425
- https://github.com/arnog/mathlive/commit/abc26056fd5e29a99edfa96a0bbe855ea2a8b678
nvd · CVE-2025-29049
- https://github.com/advisories/GHSA-qwj6-q94f-8425
- https://github.com/arnog/mathlive/commit/abc26056fd5e29a99edfa96a0bbe855ea2a8b678
osv · GHSA-929m-phjg-qwcc
- https://nvd.nist.gov/vuln/detail/CVE-2025-29049
- https://github.com/arnog/mathlive/commit/abc26056fd5e29a99edfa96a0bbe855ea2a8b678
- https://github.com/advisories/GHSA-qwj6-q94f-8425
osv · GHSA-qwj6-q94f-8425
Related changes
Linked by CVE identifierNo related changes are available here.