{"id":"CVE-2025-58353","aliases":["CVE-2025-58353"],"related":[],"kind":"vulnerability","state":"published","title":"Promptcraft Forge Studio: Complete Sanitizer Bypass Enables XSS via Overlapping Patterns","summary":"Promptcraft Forge Studio is a toolkit for evaluating, optimizing, and maintaining  LLM-powered applications. All versions of Promptcraft Forge Studio sanitize user input using regex blacklists such as r`eplace(/javascript:/gi, '')`. Because the package uses multi-character tokens and each replacement is applied only once, removing one occurrence can create a new dangerous token due to overlap. The “sanitized” value may still contain an executable payload when used in href/src (or injected into the DOM). There is currently no fix for this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Promptcraft Forge Studio is a toolkit for evaluating, optimizing, and maintaining  LLM-powered applications. All versions of Promptcraft Forge Studio sanitize user input using regex blacklists such as r`eplace(/javascript:/gi, '')`. Because the package uses multi-character tokens and each replacement is applied only once, removing one occurrence can create a new dangerous token due to overlap. The “sanitized” value may still contain an executable payload when used in href/src (or injected into the DOM). There is currently no fix for this issue.","source":"cvelist"}],"published":"2025-09-04T19:39:23.567Z","modified":"2026-06-17T09:44:20.887Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","score":8.2,"rating":"HIGH"}],"cwes":["CWE-20","CWE-79","CWE-184"],"affected":[{"ranges":[{"version":">= 0","status":"affected"}],"vendor":"MarceloTessaro","product":"promptcraft-forge-studio","source":"cvelist"}],"references":[{"url":"https://github.com/MarceloTessaro/promptcraft-forge-studio/security/advisories/GHSA-mv25-7v95-q3pf","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-09-04T20:12:54.475Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-58353","url":"https://www.cve.org/CVERecord?id=CVE-2025-58353","licence":"CVE Terms of Use","modified":"2025-09-04T20:13:09.147Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-58353","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58353","licence":"Public domain","modified":"2026-06-17T09:44:20.887Z"}],"updatedAt":"2026-11-25T22:59:04.200Z","epss":{"score":0.00263,"percentile":0.19466,"date":"2026-12-01T12:00:22.000Z"}}