Security mailing lists by PureSourceCode

CVE-2026-27126

MEDIUM 5.9CVSS 4.0

Craft CMS has Stored XSS in Table Field via "HTML" Column Type

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.

Published
24 Feb 2026
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-3jh3-prx3-w6wc
Sources
NVDJSONOSV GHSA-3jh3-prx3-w6wcJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 5.9 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
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD craftcms craft_cms
cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
> 4.5.0, < 4.16.19 4.16.19
NVD craftcms craft_cms
cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
> 5.0.0, < 5.8.23 5.8.23
NVD craftcms craft_cms
cpe:2.3:a:craftcms:craft_cms:4.5.0:-:*:*:*:*:*:*
= 4.5.0
NVD craftcms craft_cms
cpe:2.3:a:craftcms:craft_cms:4.5.0:rc1:*:*:*:*:*:*
= 4.5.0
NVD craftcms craft_cms
cpe:2.3:a:craftcms:craft_cms:5.0.0:-:*:*:*:*:*:*
= 5.0.0
NVD craftcms craft_cms
cpe:2.3:a:craftcms:craft_cms:5.0.0:rc1:*:*:*:*:*:*
= 5.0.0
OSV Packagist craftcms/cms >= 4.5.0-RC1, < 4.16.19 4.16.19
OSV Packagist craftcms/cms >= 5.0.0-RC1, < 5.8.23 5.8.23

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 24 Feb 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.