---
id: CVE-2026-72787
title: >-
  Craft CMS versions before 5.10.8 contain a stored cross-site scripting
  vulnerability in the control panel where draft names are rendered without HTML
  encoding in element chips and cards
summary: >-
  Craft CMS versions before 5.10.8 contain a stored cross-site scripting
  vulnerability in the control panel where draft names are rendered without HTML
  encoding in element chips and cards. A low-privilege user who can create
  element drafts…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: craftcms
product: cms
affected:
  - cms >= 5.0.0-RC1 < 5.10.8
published: '2026-08-12'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T16:17:35.510'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-72787'
references:
  - url: 'https://github.com/craftcms/cms/security/advisories/GHSA-2rp4-x2j7-qmcc'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/craft-cms-rc1-before-stored-xss-via-draft-name
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-08-12T20:46:44.827225Z'
epss: 0.00261
epssPercentile: 0.1634
ingestedAt: '2026-10-08T16:52:14.714Z'
---

## Overview

Craft CMS versions before 5.10.8 contain a stored cross-site scripting vulnerability in the control panel where draft names are rendered without HTML encoding in element chips and cards. A low-privilege user who can create element drafts can inject malicious JavaScript that executes in the browser of any higher-privileged user viewing the affected element, allowing account creation and other authenticated actions.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
