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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-24809net-snmp provides various tools relating to the Simple Netwo…6.5
- CVE-2022-2481Use after free in Views in Google Chrome prior to 103.0.5060…8.8
- CVE-2022-24810net-snmp provides various tools relating to the Simple Netwo…8.8
- CVE-2022-24811Combodi iTop is a web based IT Service Management tool. Prio…5.4
- CVE-2022-24812Grafana is an open-source platform for monitoring and observ…8.8
- CVE-2022-24813CreateWiki is Miraheze's MediaWiki extension for requesting …5.3
- CVE-2022-24815JHipster is a development platform to quickly generate, deve…8.1
- CVE-2022-24816JAI-EXT is an open-source project which aims to extend the J…10
- CVE-2022-24817Flux2 is an open and extensible continuous delivery solution…9.9
- CVE-2022-24818GeoTools is an open source Java library that provides tools …7.2
- CVE-2022-24819XWiki Platform is a generic wiki platform offering runtime s…5.3
- CVE-2022-2482 A vulnerability exists in Nokia’s ASIK AirScale system modu…8.8
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
