CVE-2025-58353
HIGHpromptcraft-forge-studio - Cross-Site Scripting via Regex Blacklist Bypass
Title source: llmDescription
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.
References (1)
Core 1
Core References
Vendor Advisory x_refsource_confirm
https://github.com/MarceloTessaro/promptcraft-forge-studio/security/advisories/GHSA-mv25-7v95-q3pf
Scores
CVSS v3
8.2
EPSS
0.0022
EPSS Percentile
12.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-184
CWE-20
CWE-79
Status
published
Products (1)
MarceloTessaro/promptcraft-forge-studio
>= 0
Published
Sep 04, 2025
Tracked Since
Feb 18, 2026