Description
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.
Published: 2026-08-12
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability allows a low‑privilege user who can create element drafts in Craft CMS to inject arbitrary JavaScript into the draft name. The injected code is rendered unescaped in the control panel’s element chips and cards, causing it to run in the browsers of any higher‑privileged user who accesses the same element. An attacker can hijack sessions, create new accounts, and perform authenticated actions without direct admin access.

Affected Systems

The flaw exists in all Craft CMS releases prior to version 5.10.8, including the 5.0.0‑RC1 release. The affected product is Craft CMS under the vendor craftcms. The vulnerability is tied specifically to the control panel component that displays draft names.

Risk and Exploitability

The CVSS base score of 5.1 indicates a moderate severity. Because the attack requires authentication with at least draft‑creation rights, an attacker needs a low‑privileged account but can target privileged users. EPSS is not available, and the vulnerability is not listed in the CISA KEV, suggesting no widespread public exploit has been reported yet. However, the stored XSS payload can be used to perform account takeover or privileged actions, so the risk to organizations that maintain low‑privileged accounts remains significant.

Generated by OpenCVE AI on August 12, 2026 at 23:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Craft CMS to a version at or above 5.10.8, which removes the bug by properly escaping draft names.
  • Delete any existing element drafts that contain potentially malicious names from the database or interface.
  • If an update cannot be performed immediately, restrict or remove the ability for non‑administrator users to create element drafts, or disable the draft feature entirely until a patch is available.

Generated by OpenCVE AI on August 12, 2026 at 23:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 12 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 12 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Craft CMS 5.0.0-RC1 before 5.10.8 Stored XSS via Draft Name
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-12T20:55:22.458Z

Reserved: 2026-08-10T15:10:15.963Z

Link: CVE-2026-72787

cve-icon Vulnrichment

Updated: 2026-08-12T20:46:49.063Z

cve-icon NVD

Status : Received

Published: 2026-08-12T20:17:49.977

Modified: 2026-08-12T21:17:39.830

Link: CVE-2026-72787

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T23:15:03Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')