CVE-2025-58361

Promptcraft Forge Studio's incomplete URL check is vulnerable to XSS via SVG

State
Published
Severity
9.3 Critical
Published
Sep 4, 2025
Updated
Sep 4, 2025
Reserved
Aug 29, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.3 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:NGitHub_M

Weaknesses

  • CWE-20 Improper Input Validation
  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-184 Incomplete List of Disallowed Inputs

Affected Products

ProductVersions
promptcraft-forge-studioMarceloTessaro
  • >= 0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.