p PatchFirst

CVE-2022-24814

CVE-2022-24814 · Cross-site Scripting in Directus

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.8 · High · EPSS 1.0% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • directus

    Versions
    • < 9.7.0: Affected

    No fix published

  • directus npm

    Affected ranges
    • SEMVER: < 9.7.0

    Update to 9.7.0

Original sources

Check your server →