CVE-2025-58361 Details
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.
A cross-site scripting (XSS) vulnerability exists in Promptcraft Forge Studio, a toolkit for managing LLM-powered applications. All versions are affected due to an incomplete URL scheme validation that fails to adequately sanitize user-controlled URLs. The validation process, located in 'src/utils/validation.ts', only removes 'javascript:' and a few specific patterns, allowing 'data:' URLs, such as 'data:image/svg+xml,...', to pass through. When a sanitized 'data:' URL is used in an 'href' or 'src' attribute, an attacker can execute scripts. This vulnerability could be exploited by crafting a 'data:' URL containing a script and using it in a context that executes the script, such as an image or iframe.
Users are advised to update the URL sanitizer to properly reject 'data:', 'javascript:', and 'vbscript:' schemes. After patching, a new version should be released, and all instances where sanitized URLs are used in 'href', 'src', or redirects should be tested.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 4, 2025CISA-ADP
Assessed Sep 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/MarceloTessaro/promptcraft-forge-studio/security/advisories/GHSA-fjch-4g87-g4p4 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-184 | Incomplete List of Disallowed Inputs | [email protected] |
| CWE-20 | Improper Input Validation | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Mathharo promptcraft-forge-studio | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 4, 2025 | New CVE Received | [email protected] |
Volerion