CVE-2025-58353
Last modified
CVE-2025-58353 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. 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, '')`. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-58353?
How severe is CVE-2025-58353?
How do I fix CVE-2025-58353?
Are you affected by CVE-2025-58353?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
