Promptcraft Forge Studio: Complete Sanitizer Bypass Enables XSS via Overlapping Patterns
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| MarceloTessaro | promptcraft-forge-studio | affected |
|
No data.
No data.
| Vendor | Product | Versions |
|---|---|---|
| Promptcraft-forge-studio Project | Promptcraft-forge-studio | — |
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-26866 | 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. |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.241% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Promptcraft-forge-studio Project
Promptcraft-forge-studio Project promptcraft-forge-studio |
|
| Vendors & Products |
Promptcraft-forge-studio Project
Promptcraft-forge-studio Project promptcraft-forge-studio |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values 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. | |
| Title | Promptcraft Forge Studio: Complete Sanitizer Bypass Enables XSS via Overlapping Patterns | |
| Weaknesses | CWE-184 CWE-20 CWE-79 |
|
| References |
| |
| Metrics |
cvssV3_1
|