CVE-2025-58353highCWE-184CWE-20CWE-79

CVE-2025-58353: high-severity vulnerability in MarceloTessaro promptcraft-forge-studio

Promptcraft Forge Studio: Complete Sanitizer Bypass Enables XSS via Overlapping Patterns

Published

E-mail alert when it lands in KEV, gets a public PoC or its score goes up.

21Vexday Risk Score

No sign of exploitation. No public exploitation artifact known so far.

ssvc Trackcvss 8.2epss 0.2%
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Related CVEs — MarceloTessaro promptcraft-forge-studio

In the same product, most dangerous first.