CVE-2017-8052 · mitre
CVE-2017-8052
Craft CMS before 2.6.2974 allows XSS attacks.
Published 2017-04-22, last changed 2026-06-17. Weakness: CWE-79.
How to fix
Upgrade to a fixed version: craftcms/cms 2.6.2974 (Packagist). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in craftcms/cms by f7e57018ff. Functions changed by the fix: beforeAction. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2017-04-22 | Published |
| 2022-05-17 | Package advisory GHSA-xv5f-2997-qhrq |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.83% |
| 2026-12-04 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-xv5f-2997-qhrq | craftcms/cms (Packagist) | 2.6.2974 |
Also known as: GHSA-xv5f-2997-qhrq
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-79989 | 2026-09-02 | 8.7 | Arbitrary user password reset leading to administrator account takeover |
| CVE-2026-72787 | 2026-08-12 | 5.1 | Craft CMS 5.0.0-RC1 before 5.10.8 Stored XSS via Draft Name |
| CVE-2026-72786 | 2026-08-12 | 7.1 | Craft CMS 5.0.0-RC1 before 5.10.8 Authentication Bypass via Password Reset |
| CVE-2026-72785 | 2026-08-11 | 9.3 | Craft CMS before 5.10.6 Authorization Bypass via structures/move-element |
| CVE-2026-72783 | 2026-08-11 | 6.9 | Craft CMS 5.0.0-RC1 before 5.10.6 Path Traversal via ensurePathIsContained |
| CVE-2026-72782 | 2026-08-11 | 7.1 | Craft CMS 5.0.0-RC1 before 5.10.6 Environment Variable Leak |
| CVE-2026-72781 | 2026-08-11 | 8.7 | Craft CMS 5.0.0-RC1 before 5.10.7 Remote Code Execution via Twig Sandbox Escape |
| CVE-2026-72780 | 2026-08-11 | 7.1 | Craft CMS before 5.10.5 WebAuthn Assertion Replay via login-with-passkey |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-8052, or call /api/v1/vulnerabilities/CVE-2017-8052. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.