CVE-2022-24814
Cross-site Scripting in Directus
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.034% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T20:18:55.078Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 8.8 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T19:04:50.325Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T20:18:55.078Z | CISA KEV |
| cvss | verified | 2026-11-19T19:04:50.325Z | CVE Program |
| epss | verified | 2026-11-19T20:07:55.380Z | FIRST EPSS |
| patches | verified | 2026-11-19T19:03:30.968Z | OSV |
| affected | verified | 2026-11-19T19:04:50.325Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:04:50.325Z | CVE Program |
Affected versions and configuration
directus directus; default status: unknown: < 9.7.0 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "directus",
"product": "directus",
"versions": [
{
"status": "affected",
"version": "< 9.7.0"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/directus/directus/security/advisories/GHSA-xmjj-3c76-5w84",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://github.com/directus/directus/pull/12020",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/directus/directus/releases/tag/v9.7.0",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-03T04:20:50.490Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2022-24814",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2025-04-23T15:54:47.074186Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-04-23T18:41:43.700Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-xmjj-3c76-5w84",
"aliases": [
"CVE-2022-24814"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "9.7.0"
}
]
}
],
"package": {
"name": "directus",
"purl": "pkg:npm/directus",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-xmjj-3c76-5w84/GHSA-xmjj-3c76-5w84.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/directus/directus/security/advisories/GHSA-xmjj-3c76-5w84",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24814",
"type": "ADVISORY"
},
{
"url": "https://github.com/directus/directus/pull/12020",
"type": "WEB"
},
{
"url": "https://github.com/directus/directus",
"type": "PACKAGE"
},
{
"url": "https://github.com/directus/directus/releases/tag/v9.7.0",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2022-04-04T18:15:00Z",
"github_reviewed_at": "2022-04-05T18:30:15Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | directus | Not a distribution channel | 9.7.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T19:04:50.325ZArchived source JSON
Source publication: 2022-04-04T17:50:11.000Z
Source modification: 2025-04-23T18:41:43.700ZDocument fingerprint
3bac6ec585a4c0f341f193f63ae7758476c364abdb485d08aefdea9aa70fc69d - FIRST EPSSConsulted: 2026-11-19T20:07:55.380ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
442010b516aa367fca50f9cfb8baa24eec8dfbcac056be617c746da90151afbe - CISA KEVConsulted: 2026-11-19T20:18:55.078ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T19:03:30.968ZArchived source JSON
Source publication: 2022-04-05T18:30:15.000Z
Source modification: 2023-11-08T04:08:37.325ZDocument fingerprint
f4f60bcf87a8f77ce3fee3ab3f5dffde8e28e3827a2229b8ac076bed84b4988c
Official status history
- UNKNOWN → PUBLISHED · · evidence