CVE 8.2 HIGH

Promptcraft Forge Studio: Complete Sanitizer Bypass Enables XSS via Overlapping Patterns_CVE-2025-58353

8.2 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

Description

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.

Basic Information

ID CVE-2025-58353
Source GitHub_M
Published Sep 4, 2025 at 19:39
Modified Sep 4, 2025 at 20:13

Affected Product

Vendor MarceloTessaro
Product promptcraft-forge-studio
Version >= 0
Affected Versions MarceloTessaro promptcraft-forge-studio >= 0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.