SCA: security update for directus (GHSA-xmjj-3c76-5w84)

medium Tenable Cloud Security Plugin ID 420579

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-24814)

See Also

https://github.com/advisories/GHSA-xmjj-3c76-5w84

Plugin Details

Severity: Medium

ID: 420579

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 8.67

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2022-24814

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/5/2022

Vulnerability Publication Date: 4/4/2022

Reference Information

CVE: CVE-2022-24814

cwe: CWE-79