CVE-2022-24814
CVE-2022-24814 is a high-severity vulnerability in Rangerstudio Directus with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- CVSS v2: 4.3
- EPSS exploit prediction: 1% (59th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-79
- Affected product: Rangerstudio Directus
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2022-24814?
- 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.
- How severe is CVE-2022-24814?
- CVE-2022-24814 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2022-24814 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (59th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-24814?
- CVE-2022-24814 affects Rangerstudio Directus. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-24814?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2022-24814 published?
- CVE-2022-24814 was published on 2022-04-04 and last updated on 2026-06-17.
References
- https://github.com/directus/directus/pull/12020
- https://github.com/directus/directus/releases/tag/v9.7.0
- https://github.com/directus/directus/security/advisories/GHSA-xmjj-3c76-5w84
Affected products (1)
- cpe:2.3:a:rangerstudio:directus:*:*:*:*:*:*:*:*
More vulnerabilities in Rangerstudio Directus
- CVE-2018-10723 — Critical (CVSS 9.8): Directus 6.4.9 has a hardcoded admin password for the Admin account because of an INSERT statement in api/schema.sql.
- CVE-2021-29641 — High (CVSS 8.8): Directus 8 before 8.8.2 allows remote authenticated users to execute arbitrary code because file-upload permissions…
- CVE-2021-26594 — High (CVSS 8.8): In Directus 8.x through 8.8.1, an attacker can switch to the administrator role (via the PATCH method) without any…
- CVE-2023-27474 — High (CVSS 8.0): Directus is a real-time API and App dashboard for managing SQL database content. Instances relying on an allow-listed…
- CVE-2021-26593 — High (CVSS 7.5): In Directus 8.x through 8.8.1, an attacker can see all users in the CMS using the API /users/{id}. For each call, they…
- CVE-2022-22117 — Medium (CVSS 5.4): In Directus, versions 9.0.0-alpha.4 through 9.4.1 allow unrestricted file upload of .html files in the media upload…
All CVEs affecting Rangerstudio Directus →
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →