Input validation error in Directus - CVE-2025-64747

 

Input validation error in Directus - CVE-2025-64747

Published: April 23, 2026


Vulnerability identifier: #VU127122
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-64747
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Directus
Affected software:
Directus

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary script in the context of a user's session.

The vulnerability exists due to improper input validation in the Block Editor interface when processing JSON content containing HTML elements. A remote user can send a specially crafted PATCH request with malicious block editor content to execute arbitrary script in the context of a user's session.

User interaction is required to view the affected content, and exploitation requires the upload files and edit item permissions.


How to mitigate CVE-2025-64747

Install security update from vendor's website.

Sources