# CVE-2026-27126: Craft CMS has Stored XSS in Table Field via "HTML" Column Type

- Severity: Medium 5.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-02-23T22:15:03.000Z
- Modified: 2026-06-17T10:26:42.777Z
- Also known as: GHSA-3jh3-prx3-w6wc
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- craftcms cms: >= 4.5.0-RC1, < 4.16.19; >= 5.0.0-RC1, < 5.8.23
- craftcms/cms (Packagist): from 4.5.0-RC1 before 4.16.19; from 5.0.0-RC1 before 5.8.23
- craftcms craft_cms: from >4.5.0 before 4.16.19; from >5.0.0 before 5.8.23; 4.5.0; 5.0.0

## Every score

- GitHub_M: CVSS:4.0 5.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/craftcms/cms/security/advisories/GHSA-3jh3-prx3-w6wc> (third-party-advisory, web)
- <https://github.com/craftcms/cms/commit/f5d488d9bb6eff7670ed2c2fe30e15692e92c52b> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27126> (advisory)
- <https://github.com/craftcms/cms> (package)

## Sources

- CVE List: [CVE-2026-27126](https://www.cve.org/CVERecord?id=CVE-2026-27126), CVE Terms of Use, modified 2026-02-24
- GitHub Advisory Database: [GHSA-3jh3-prx3-w6wc](https://github.com/advisories/GHSA-3jh3-prx3-w6wc), CC-BY-4.0, modified 2026-02-24
- NVD: [CVE-2026-27126](https://nvd.nist.gov/vuln/detail/CVE-2026-27126), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27126 · Whole record: https://cve.day/CVE-2026-27126.json · Rebuilt by cve.day 2026-11-25T22:59:14.708Z
