CVE-2023-27474
HTML Injection in Password Reset email to custom Reset URL in directus
Directus is a real-time API and App dashboard for managing SQL database content. Instances relying on an allow-listed reset URL are vulnerable to an HTML injection attack through the use of query parameters in the reset URL. An attacker could exploit this to email users urls to the servers domain but which may contain malicious code. The problem has been resolved and released under version 9.23.0. People relying on a custom password reset URL should upgrade to 9.23.0 or later, or remove the custom reset url from the configured allow list. Users are advised to upgrade. Users unable to upgrade may disable the custom reset URL allow list as a workaround.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.531% · 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-19T19:48:17.831Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 8 · published by GitHub_MCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Assessment source · checked 2026-11-19T19:04:55.188Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T19:48:17.831Z | CISA KEV |
| cvss | verified | 2026-11-19T19:04:55.188Z | CVE Program |
| epss | verified | 2026-11-19T20:07:59.062Z | FIRST EPSS |
| patches | verified | 2026-11-19T19:03:30.968Z | OSV |
| affected | verified | 2026-11-19T19:04:55.188Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:04:55.188Z | CVE Program |
Affected versions and configuration
directus directus; default status: unknown: < 9.23.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.23.0"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/directus/directus/security/advisories/GHSA-4hmq-ggrm-qfc6",
"name": "https://github.com/directus/directus/security/advisories/GHSA-4hmq-ggrm-qfc6",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://github.com/directus/directus/issues/17119",
"name": "https://github.com/directus/directus/issues/17119",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/directus/directus/pull/17120",
"name": "https://github.com/directus/directus/pull/17120",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-02T12:09:43.476Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2023-27474",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2025-02-25T14:29:56.859843Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-02-25T15:01:29.130Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-4hmq-ggrm-qfc6",
"aliases": [
"CVE-2023-27474"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "9.23.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/2023/03/GHSA-4hmq-ggrm-qfc6/GHSA-4hmq-ggrm-qfc6.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/directus/directus/security/advisories/GHSA-4hmq-ggrm-qfc6",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-27474",
"type": "ADVISORY"
},
{
"url": "https://github.com/directus/directus/issues/17119",
"type": "WEB"
},
{
"url": "https://github.com/directus/directus/pull/17120",
"type": "WEB"
},
{
"url": "https://github.com/directus/directus",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2023-03-06T17:15:00Z",
"github_reviewed_at": "2023-03-07T20:35:54Z"
}
}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.23.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:55.188ZArchived source JSON
Source publication: 2023-03-06T16:43:54.836Z
Source modification: 2025-02-25T15:01:29.130ZDocument fingerprint
f2b00d2ad9d5444566048a1f450e4272572e7eaacb3df1ac85368a35d88cc6b7 - FIRST EPSSConsulted: 2026-11-19T20:07:59.062ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
ab2159d9e4ab5bedec96200c7d64d5b87e5cf274464a53717f608c037364a976 - CISA KEVConsulted: 2026-11-19T19:48:17.831ZArchived 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: 2023-03-07T20:35:54.000Z
Source modification: 2026-09-10T03:49:52.346ZDocument fingerprint
f4f60bcf87a8f77ce3fee3ab3f5dffde8e28e3827a2229b8ac076bed84b4988c
Official status history
- UNKNOWN → PUBLISHED · · evidence