CVEMETERBack to radar
OFFICIAL RECORD · Directus

CVE-2023-27474

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 8 · high

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_M
CVSS: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

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T19:48:17.831ZCISA KEV
cvssverified2026-11-19T19:04:55.188ZCVE Program
epssverified2026-11-19T20:07:59.062ZFIRST EPSS
patchesverified2026-11-19T19:03:30.968ZOSV
affectedverified2026-11-19T19:04:55.188ZCVE Program
lifecycleverified2026-11-19T19:04:55.188ZCVE 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 JSON
OSV · 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 JSON

Correction 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 typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarynpm / packagedirectusNot a distribution channel9.23.0Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history