What’s Vulnerable › Vulnerabilities
CVE-2026-109307: Craft CMS 5.0.0 before 5.10.14 DOM XSS via returnUrl in 2FA Verification
- Severity: medium (CVSS 4.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-12 · updated 2026-10-15
- Weakness: CWE-79
Description
Craft CMS 5.0.0 before 5.10.14 contains a DOM-based cross-site scripting vulnerability in the control panel login and 2FA verification flow, where a user-controlled returnUrl accepting javascript: URLs is used in client-side navigation. Attackers can lure a 2FA-enabled victim into opening a crafted /admin/login?verify=1 URL between password submission and TOTP verification, executing JavaScript in the authenticated control panel with the victim's permissions.
Affected products
- craftcms cms: from 5.0.0 before 5.10.14 — fixed in 5.10.14
How to fix
Upgrade to a fixed version: craftcms cms 5.10.14. Check the vendor advisory for mitigations.
References
- https://github.com/craftcms/cms/security/advisories/GHSA-w5rh-mhxj-wr8r
- https://www.vulncheck.com/advisories/craft-cms-5.0.0-before-5.10.14-dom-xss-via-returnurl-in-2fa-verification
Get alerted when CVE-2026-109307 or the next vulnerability affects your stack