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

The following table lists the changes that have been made to the
CVE-2025-58353 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution
of a vulnerability, and for identifying the most recent changes that may
impact the vulnerability’s severity, exploitability, or other characteristics.

  • New CVE Received
    by [email protected]

    Sep. 04, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
    Added CWE CWE-79
    Added CWE CWE-20
    Added CWE CWE-184
    Added Reference https://github.com/MarceloTessaro/promptcraft-forge-studio/security/advisories/GHSA-mv25-7v95-q3pf
Share the Post:

Related Posts