diff --git a/advisories/github-reviewed/2025/01/GHSA-qwj6-q94f-8425/GHSA-qwj6-q94f-8425.json b/advisories/github-reviewed/2025/01/GHSA-qwj6-q94f-8425/GHSA-qwj6-q94f-8425.json index 0d6b1c20ee1..02c5defae51 100644 --- a/advisories/github-reviewed/2025/01/GHSA-qwj6-q94f-8425/GHSA-qwj6-q94f-8425.json +++ b/advisories/github-reviewed/2025/01/GHSA-qwj6-q94f-8425/GHSA-qwj6-q94f-8425.json @@ -1,11 +1,13 @@ { "schema_version": "1.4.0", "id": "GHSA-qwj6-q94f-8425", - "modified": "2025-01-21T21:17:52Z", + "modified": "2025-04-02T00:33:42Z", "published": "2025-01-21T21:17:52Z", - "aliases": [], + "aliases": [ + "CVE-2025-29049" + ], "summary": "MathLive's Lack of Escaping of HTML allows for XSS", - "details": "### Summary\nDespite 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.\n\n### Details\nOverall in the code, other than in the `test` folder, no functions escaping HTML can be seen.\n\n### PoC\n1. Go to https://cortexjs.io/mathlive/demo/\n2. Paste either `\\htmlData{>}{}` in the LaTeX textarea.\n\n### Impact\nMathLive users who render untrusted mathematical expressions could encounter malicious input using \\htmlData that runs arbitrary JavaScript, or generate invalid HTML.\n", + "details": "### Summary\nDespite 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.\n\n### Details\nOverall in the code, other than in the `test` folder, no functions escaping HTML can be seen.\n\n### PoC\n1. Go to https://cortexjs.io/mathlive/demo/\n2. Paste either `\\htmlData{>}{}` in the LaTeX textarea.\n\n### Impact\nMathLive users who render untrusted mathematical expressions could encounter malicious input using \\htmlData that runs arbitrary JavaScript, or generate invalid HTML.", "severity": [ { "type": "CVSS_V3", @@ -41,6 +43,10 @@ "type": "WEB", "url": "https://github.com/arnog/mathlive/security/advisories/GHSA-qwj6-q94f-8425" }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-29049" + }, { "type": "WEB", "url": "https://github.com/arnog/mathlive/commit/abc26056fd5e29a99edfa96a0bbe855ea2a8b678" diff --git a/advisories/github-reviewed/2025/04/GHSA-929m-phjg-qwcc/GHSA-929m-phjg-qwcc.json b/advisories/github-reviewed/2025/04/GHSA-929m-phjg-qwcc/GHSA-929m-phjg-qwcc.json new file mode 100644 index 00000000000..6b4fc999704 --- /dev/null +++ b/advisories/github-reviewed/2025/04/GHSA-929m-phjg-qwcc/GHSA-929m-phjg-qwcc.json @@ -0,0 +1,60 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-929m-phjg-qwcc", + "modified": "2025-04-02T00:33:15Z", + "published": "2025-04-01T21:31:30Z", + "withdrawn": "2025-04-02T00:33:15Z", + "aliases": [], + "summary": "Duplicate Advisory: MathLive's Lack of Escaping of HTML allows for XSS", + "details": "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-qwj6-q94f-8425. This link is maintained to preserve external references.\n\n### Original Description\nCross 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.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L" + } + ], + "affected": [ + { + "package": { + "ecosystem": "npm", + "name": "mathlive" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "0.104.0" + } + ] + } + ] + } + ], + "references": [ + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-29049" + }, + { + "type": "WEB", + "url": "https://github.com/arnog/mathlive/commit/abc26056fd5e29a99edfa96a0bbe855ea2a8b678" + }, + { + "type": "ADVISORY", + "url": "https://github.com/advisories/GHSA-qwj6-q94f-8425" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-79" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2025-04-02T00:33:15Z", + "nvd_published_at": "2025-04-01T21:15:43Z" + } +} \ No newline at end of file diff --git a/advisories/unreviewed/2025/04/GHSA-929m-phjg-qwcc/GHSA-929m-phjg-qwcc.json b/advisories/unreviewed/2025/04/GHSA-929m-phjg-qwcc/GHSA-929m-phjg-qwcc.json deleted file mode 100644 index e8c26afaa3b..00000000000 --- a/advisories/unreviewed/2025/04/GHSA-929m-phjg-qwcc/GHSA-929m-phjg-qwcc.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "schema_version": "1.4.0", - "id": "GHSA-929m-phjg-qwcc", - "modified": "2025-04-01T21:31:30Z", - "published": "2025-04-01T21:31:30Z", - "aliases": [ - "CVE-2025-29049" - ], - "details": "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.", - "severity": [ - { - "type": "CVSS_V3", - "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L" - } - ], - "affected": [], - "references": [ - { - "type": "ADVISORY", - "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-29049" - }, - { - "type": "WEB", - "url": "https://github.com/arnog/mathlive/commit/abc26056fd5e29a99edfa96a0bbe855ea2a8b678" - }, - { - "type": "ADVISORY", - "url": "https://github.com/advisories/GHSA-qwj6-q94f-8425" - } - ], - "database_specific": { - "cwe_ids": [ - "CWE-79" - ], - "severity": "MODERATE", - "github_reviewed": false, - "github_reviewed_at": null, - "nvd_published_at": "2025-04-01T21:15:43Z" - } -} \ No newline at end of file