# CVE-2025-58353: Promptcraft Forge Studio: Complete Sanitizer Bypass Enables XSS via Overlapping Patterns

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2025-09-04T19:39:23.567Z
- Modified: 2026-06-17T09:44:20.887Z
- Weaknesses: CWE-20, CWE-79, CWE-184
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- MarceloTessaro promptcraft-forge-studio: >= 0

## References

- <https://github.com/MarceloTessaro/promptcraft-forge-studio/security/advisories/GHSA-mv25-7v95-q3pf>

## Sources

- CVE List: [CVE-2025-58353](https://www.cve.org/CVERecord?id=CVE-2025-58353), CVE Terms of Use, modified 2025-09-04
- NVD: [CVE-2025-58353](https://nvd.nist.gov/vuln/detail/CVE-2025-58353), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-58353 · Whole record: https://cve.day/CVE-2025-58353.json · Rebuilt by cve.day 2026-11-25T22:59:04.200Z
