Duplicate Advisory: Craft CMS has Stored XSS in Table Field in its "Row Heading" Column Type
Craft CMS versions from 4.5.0-beta.1 through 4.16.18 and 5.0.0-RC1 through 5.8.22 contain a stored cross-site scripting (XSS) vulnerability in the editableTable.twig component when using the 'Row Heading' column type. This vulnerability allows an attacker with administrator privileges and the allowAdminChanges setting enabled to inject arbitrary JavaScript code that executes when another user views the affected table field. The issue is fixed in versions 4.16.19 and 5.8.23.
AI Analysis
Technical Summary
Craft CMS has a stored XSS vulnerability (CWE-79) in the editableTable.twig component's 'Row Heading' column type. The application does not properly sanitize input within row heading default values, enabling an attacker with administrator access and allowAdminChanges enabled to inject malicious JavaScript. This script executes in the context of other users viewing the affected table field. The vulnerability affects versions >=4.5.0-beta.1 through 4.16.18 and >=5.0.0-RC1 through 5.8.22 and is resolved in 4.16.19 and 5.8.23.
Potential Impact
An attacker with administrator privileges and the allowAdminChanges setting enabled can inject arbitrary JavaScript code that executes in the browsers of other users viewing the affected table field. This can lead to information disclosure or other client-side impacts. The vulnerability requires high privileges and user interaction (viewing the page). There is no indication of active exploitation in the wild.
Mitigation Recommendations
A fix is available in Craft CMS versions 4.16.19 and 5.8.23. Users should upgrade to these versions or later to remediate the vulnerability. No additional mitigation is indicated by the vendor advisory.
Duplicate Advisory: Craft CMS has Stored XSS in Table Field in its "Row Heading" Column Type
Description
Craft CMS versions from 4.5.0-beta.1 through 4.16.18 and 5.0.0-RC1 through 5.8.22 contain a stored cross-site scripting (XSS) vulnerability in the editableTable.twig component when using the 'Row Heading' column type. This vulnerability allows an attacker with administrator privileges and the allowAdminChanges setting enabled to inject arbitrary JavaScript code that executes when another user views the affected table field. The issue is fixed in versions 4.16.19 and 5.8.23.
CVSS v3.1
Score 4.8medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Craft CMS has a stored XSS vulnerability (CWE-79) in the editableTable.twig component's 'Row Heading' column type. The application does not properly sanitize input within row heading default values, enabling an attacker with administrator access and allowAdminChanges enabled to inject malicious JavaScript. This script executes in the context of other users viewing the affected table field. The vulnerability affects versions >=4.5.0-beta.1 through 4.16.18 and >=5.0.0-RC1 through 5.8.22 and is resolved in 4.16.19 and 5.8.23.
Potential Impact
An attacker with administrator privileges and the allowAdminChanges setting enabled can inject arbitrary JavaScript code that executes in the browsers of other users viewing the affected table field. This can lead to information disclosure or other client-side impacts. The vulnerability requires high privileges and user interaction (viewing the page). There is no indication of active exploitation in the wild.
Mitigation Recommendations
A fix is available in Craft CMS versions 4.16.19 and 5.8.23. Users should upgrade to these versions or later to remediate the vulnerability. No additional mitigation is indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5w9j-w5p8-r4p7
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a7573c1bf8831d539d9459c
Added to database: 08/07/2026, 05:57:21 UTC
Last enriched: 08/07/2026, 07:00:41 UTC
Last updated: 08/07/2026, 09:43:29 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.