Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/cms
  4. ›
  5. GHSA-6j87-m5qx-9fqp

GHSA-6j87-m5qx-9fqp: Craft CMS has Stored XSS in Table Field in its "Row Heading" Column Type

February 25, 2026

A stored Cross-site Scripting (XSS) vulnerability exists in the editableTable.twig component when using the Row Heading column type. The application fails to sanitize input within row headings, allowing an attacker to execute arbitrary JavaScript when another user views a page with the malicious table field.

References

  • craftcms.com/knowledge-base/securing-craft
  • github.com/advisories/GHSA-6j87-m5qx-9fqp
  • github.com/craftcms/cms
  • github.com/craftcms/cms/commit/7b372de262b8d9d2ce859f32780c3715719b6f5a
  • github.com/craftcms/cms/releases/tag/4.16.19
  • github.com/craftcms/cms/releases/tag/5.8.23
  • github.com/craftcms/cms/security/advisories/GHSA-6j87-m5qx-9fqp

Code Behaviors & Features

Detect and mitigate GHSA-6j87-m5qx-9fqp with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.5.0-beta.1 before 4.16.19, all versions starting from 5.0.0-RC1 before 5.8.23

Fixed versions

  • 4.16.19
  • 5.8.23

Solution

Upgrade to versions 4.16.19, 5.8.23 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/craftcms/cms/GHSA-6j87-m5qx-9fqp.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:18:05 +0000.