{"id":"CVE-2026-27126","published":"2026-02-24T02:30:04Z","modified":"2026-02-24T19:35:38Z","title":"Craft CMS has Stored XSS in Table Field via \"HTML\" Column Type","vendor":"Craft CMS","product":"cms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00306,"percentile":0.15856,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-3jh3-prx3-w6wc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/craftcms/cms/commit/f5d488d9bb6eff7670ed2c2fe30e15692e92c52b","tags":["x_refsource_MISC"]}],"priority":{"score":7.3,"factors":[{"name":"EPSS percentile","points":3.17},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"craft-cms","affectedVersions":[{"vendor":"craftcms","product":"cms","versions":[">= 4.5.0-RC1, < 4.16.19",">= 5.0.0-RC1, < 5.8.23"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-24T19:33:58.093384Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"craftcms/cms","vulnerableRanges":[">=4.5.0-RC1, <4.16.19",">=5.0.0-RC1, <5.8.23"],"patched":["4.16.19","5.8.23"],"from":["GHSA-3jh3-prx3-w6wc"],"provenance":"source"}],"summary":{"text":"The flaw is a stored cross-site scripting vulnerability in the editableTable.twig component of Craft CMS's Table field when the \"HTML\" column type is used, where input is not sanitized. An attacker with an administrator account can execute arbitrary JavaScript in the browser of another user who views a page containing the malicious table field, but only where allowAdminChanges is enabled in production, a configuration Craft advises against, and the attack requires that victim to take some action to load the page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:42Z"},"euvd":{"id":"EUVD-2026-7406","exploited":false,"provenance":"source"}}