CVE-2022-24814
Last modified
CVE-2022-24814 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. Directus is a real-time API and App dashboard for managing SQL database content. Prior to version 9.7.0, unauthorized JavaScript (JS) can be executed by inserting an iframe into the rich text html interface that links to a file uploaded HTML file that loads another uploaded JS file in its script tag. EPSS estimates a 1.02% chance of exploitation in the next 30 days.
Description
Directus is a real-time API and App dashboard for managing SQL database content. Prior to version 9.7.0, unauthorized JavaScript (JS) can be executed by inserting an iframe into the rich text html interface that links to a file uploaded HTML file that loads another uploaded JS file in its script tag. This satisfies the regular content security policy header, which in turn allows the file to run any arbitrary JS. This issue was resolved in version 9.7.0. As a workaround, disable the live embed in the what-you-see-is-what-you-get by adding `{ "media_live_embeds": false }` to the _Options Overrides_ option of the Rich Text HTML interface.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rangerstudio | Directus | < 9.7.0 |
References
- https://github.com/directus/directus/pull/12020Issue Tracking, Patch, Third Party Advisory
- https://github.com/directus/directus/releases/tag/v9.7.0Release Notes, Third Party Advisory
- https://github.com/directus/directus/security/advisories/GHSA-xmjj-3c76-5w84Mitigation, Third Party Advisory
- https://github.com/directus/directus/pull/12020Issue Tracking, Patch, Third Party Advisory
- https://github.com/directus/directus/releases/tag/v9.7.0Release Notes, Third Party Advisory
- https://github.com/directus/directus/security/advisories/GHSA-xmjj-3c76-5w84Mitigation, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-24814?
How severe is CVE-2022-24814?
How do I fix CVE-2022-24814?
Are you affected by CVE-2022-24814?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
