XSS in Marcelotessaro Promptcraft-Forge-Studio

CVE-2025-58353

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.

Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)

EPSS: 0.002 (13.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-58353?
CVE-2025-58353 is a high-severity vulnerability in Marcelotessaro Promptcraft-Forge-Studio, classified under Improper Input Validation. CVSS score: 8.2/10. Published 2025-09-04.
How severe is CVE-2025-58353?
High severity. CVSS v3 base score is 8.2 out of 10.