Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Duplicate Advisory: Craft CMS has Stored XSS in Table Field in its "Row Heading" Column Type

0
Medium
Published: 06/21/2026 (06/21/2026, 15:31:24 UTC)
Source: GCVE Database
Product: craftcms/cms

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Affected software

Packagistghsa
craftcms/cms
Affected versions
>=4.5.0-beta.1 <=4.16.18

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/07/2026, 07:00:41 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses