{"id":"CVE-2025-58353","published":"2025-09-04T19:39:23Z","modified":"2025-09-04T20:13:09Z","title":"Promptcraft Forge Studio: Complete Sanitizer Bypass Enables XSS via Overlapping Patterns","vendor":"MarceloTessaro","product":"promptcraft-forge-studio","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00474,"percentile":0.33229,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"references":[{"url":"https://github.com/MarceloTessaro/promptcraft-forge-studio/security/advisories/GHSA-mv25-7v95-q3pf","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":6.65},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"marcelotessaro","affectedVersions":[{"vendor":"MarceloTessaro","product":"promptcraft-forge-studio","versions":[">= 0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-09-04T20:12:54.475467Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-26866","exploited":false,"provenance":"source"}}