CVE-2022-24814
Summary
| CVE | CVE-2022-24814 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-04-04 18:15:00 UTC |
| Updated | 2022-04-12 09:32:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-79
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Rangerstudio | Directus | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in directus · Advisory · directus/directus · GitHub | CONFIRM | github.com | |
| Allow configuring /assets endpoint CSP separately by rijkvanzanten · Pull Request #12020 · directus/directus · GitHub | MISC | github.com | |
| Release v9.7.0 · directus/directus · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.