CVE-2025-58361CWE-184CWE-20CWE-79

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

Critical · published September 4, 2025

CVSS v3.1
9.3
EPSS
0%
Percentile
19.7
In the wild
Unconfirmed
What it is

🚨 A seemingly innocent URL check has left Promptcraft Forge Studio wide open to XSS attacks! 🔥 Think of it like a restaurant that checks for certain ingredients — it might refuse 'poison', but still lets in 'spicy chili sauce'. The same goes for URLs: while 'javascript:' is blocked, sneaky data URLs slip right past! An attacker could execute malicious scripts through a vulnerable link, potentially hijacking user sessions, stealing sensitive data, or causing mayhem within the application! This is an absolutely devastating flaw if exploited, as it puts users and their data on the line.

Put simply

Think of it like a restaurant that checks for certain ingredients — it might refuse 'poison', but still lets in 'spicy chili sauce'. The same goes for URLs: while 'javascript:' is blocked, sneaky data URLs slip right past! This vulnerability stems from a non-exhaustive URL scheme check in Promptcraft Forge Studio that only blocks a few patterns, allowing 'data:' URLs to pass through unchecked. This opens the door to XSS attacks when sanitized values are used in href/src attributes.

What to do

An attacker could execute malicious scripts through a vulnerable link, potentially hijacking user sessions, stealing sensitive data, or causing mayhem within the application! This is an absolutely devastating flaw if exploited, as it puts users and their data on the line. Until a fix is released, review your application’s URL handling. Implement strict validation that includes blocking all 'data:' URLs. Consider using a Content Security Policy (CSP) to mitigate the risk of XSS attacks! You've got this! Stay vigilant and proactive, and you'll keep your applications secure! 🛡️

The record
Technical detail
CVSS v3.1
9.3 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00283 · 19.7th percentile
Weaknesses
CWE-184 · Incomplete List of Disallowed Inputs; CWE-20 · Improper Input Validation; CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-09-04T19:43Z
EPSS history
Timeline
  • 04 SEP 19:43Z
    Promptcraft Forge Studio's incomplete URL check is vulnerable to XSS via SVG
    cvelistv5