Live threats

All CVEs / Craftcms

CVE-2026-27126Craftcms Craft Cms

Medium 5.9

Priority
35
CVSS 4.0
5.9
EPSS
—
Auth required
Yes
Published
Feb 24, 2026
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Craft is a content management system (CMS). In versions 4.5.0-RC1 through 4.16.18 and 5.0.0-RC1 through 5.8.22, a stored Cross-site Scripting (XSS) vulnerability exists in the `editableTable.twig` component when using the `html` column type. The application fails to sanitize the input, allowing an attacker to execute arbitrary JavaScript when another user views a page with the malicious table field. In order to exploit the vulnerability, an attacker must have an administrator account, and `allowAdminChanges` must be enabled in production, which is against Craft's security recommendations. Versions 4.16.19 and 5.8.23 patch the issue.

Original NVD text.

What to do

  1. Apply the vendor's security update for Craft Cms.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist craftcms/cms ≥ 4.5.0-RC1 < 4.16.19 4.16.19 composer require "craftcms/cms:^4.16.19"
Packagist craftcms/cms ≥ 5.0.0-RC1 < 5.8.23 5.8.23 composer require "craftcms/cms:^5.8.23"

Per OSV / GitHub Advisories (GHSA-3jh3-prx3-w6wc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
craftcmscraft_cms> 4.5.0 < 4.16.19
craftcmscraft_cms> 5.0.0 < 5.8.23
craftcmscraft_cms4.5.0
craftcmscraft_cms4.5.0
craftcmscraft_cms5.0.0
craftcmscraft_cms5.0.0

Official sources

References

Links published by the sources. Open them with care.