Skip to content

Stored XSS in site name rendered without escaping

Low
angrybrad published GHSA-5fjj-496j-2qqf Aug 18, 2026

Software

craftcms/cms

Affected versions

>= 5.0.0-RC1, < 5.10.11

Patched versions

5.10.11

Description

A stored Cross-Site Scripting (XSS) vulnerability exists in the site name field. The application fails to sanitize input, allowing an attacker to execute arbitrary JavaScript when another user views a page with the malicious table field.

Required Permissions

  • Administrator account
  • allowAdminChanges must be enabled.

Steps to Reproduce

  1. Log in to the CP as admin.
  2. Settings > Sites > create or rename a site. Set the Name to any XSS payload.
  3. Navigate to Settings > Email & Notice the XSS execution.

Impact

Stored XSS in the control panel.

Report ID: 1511

Severity

Low

CVE ID

No known CVE

Weaknesses

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. Learn more on MITRE.

Credits