Vulnerability · Published Sep 4, 2025 · Assigned by GitHub_M

CVE-2025-58361Promptcraft Forge Studio's incomplete URL check is vulnerable to XSS via SVG

Critical 9.3

In plain English

A critical-severity improper input validation in promptcraft-forge-studio from MarceloTessaro. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities).

Severity (CVSS 3.1)9.3Critical
Exploit odds (30 days)0.3%top 79.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Promptcraft Forge Studio is a toolkit for evaluating, optimizing, and maintaining LLM-powered applications. All versions contain an non-exhaustive URL scheme check that does not protect against XSS. User-controlled URLs pass through src/utils/validation.ts, but the check only strips `javascript:` and a few patterns. `data:` URLs (for example data:image/svg+xml,…) still pass. If a sanitized value is used in href/src, an attacker can execute a script. There is currently no fix for this issue.

Affected products (as reported)

VendorProductVersions
MarceloTessaro promptcraft-forge-studio >= 0

Weakness: CWE-20, CWE-79, CWE-184 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

References