Directus Vulnerable to Stored Cross-site Scripting
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
Directus is a real-time API and App dashboard for managing SQL database content. A stored cross-site scripting (XSS) vulnerability exists in versions prior to 11.13.0 that allows users with `upload files` and `edit item` permissions to inject malicious JavaScript through the Block Editor interface. Attackers can bypass Content Security Policy (CSP) restrictions by combining file uploads with iframe srcdoc attributes, resulting in persistent XSS execution. Version 11.13.0 fixes the issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| directus | directus | before 11.13.0 | 11.13.0 | Patch available | CNA |
| — | directus (npm) | before 11.13.0 | 11.13.0 | Patch available | GHSA-vv2v-pw69-8crf |
- directus Vendordirectus Affected before 11.13.0 Fixed in 11.13.0 Patch available CNA
- directus (npm) Vendor— Affected before 11.13.0 Fixed in 11.13.0 Patch available GHSA-vv2v-pw69-8crf
Remediation
- Fix · CNA directus (directus) Fixed in 11.13.0
- Fix · GHSA-vv2v-pw69-8crf directus (npm) Fixed in 11.13.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-64747
- 2026-10-03 Alias added: GHSA-vv2v-pw69-8crf
References
More Directus vulnerabilities
- TI-2025-21659 Directus's webhook trigger flows can leak sensitive data CVSS 3.1HIGH 8.6
- TI-2024-36266 Directus allows unauthenticated access to WebSocket events and operations CVSS 3.1HIGH 7.5
- TI-2024-26791 Directus allows SSO User Enumeration CVSS 3.1HIGH 7.5
- TI-2024-23956 Directus is soft-locked by providing a string value to random string util CVSS 3.1HIGH 7.5
- TI-2024-26624 Directus Incorrectly handles _in` filter CVSS 3.1HIGH 7.7
- TI-2025-21658 Directus `search` query parameter allows enumeration of non permitted fields CVSS 3.1MEDIUM 5.3
Sources
- CVE-2025-64747 · CVE Program
- CVE-2025-64747 · NVD
- FIRST EPSS
- GHSA-vv2v-pw69-8crf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences