Know every vulnerabilitybefore it knows you.
DevGuard continuously monitors your dependencies and alerts you when CVEs like this one affect your stack — with real-time threat intelligence built for developers.
GHSA-7pr4-wx9w-mqwr
No affected components available
Summary
Stored XSS via Entry Type names. The name is not sanitized when displayed in the Entry Types list.
Proof of Concept
Required Permissions (Attacker)
- Admin access (only admins have access to the settings page)
allowAdminChangesis enabled in production, which is against our security recommendations.
Steps to Reproduce
- Log in as an attacker.
- Go to Settings -> Entry Types (
/admin/settings/entry-types). - Create a new Entry Type.
- Set Name to:
<img src=x onerror="alert('XSS-EntryTypes')" hidden>
- Save the Entry Type, and you’ll be redirected back to the entry types table automatically.
- Notice the alert fires when the entry types table renders.
The vulnerability can be exploited over the network without needing physical access. It is easy for an attacker to exploit this vulnerability. An attacker needs high-level or administrative privileges.
Limited exploitation activity has been observed. Close monitoring and planned remediation are recommended.
Probability that this vulnerability will be exploited in the wild within the next 30 days.
We did not find any exploit available. Neither in GitHub repositories nor in the Exploit-Database.
Browse More
Continuously monitor your dependencies and get alerted when vulnerabilities like this one affect your stack.
Checkout DevGuard