{"id":"CVE-2026-109307","published":"2026-10-12T16:05:04Z","modified":"2026-10-15T02:43:02Z","title":"Craft CMS 5.0.0 before 5.10.14 DOM XSS via returnUrl in 2FA Verification","vendor":"Craft CMS","product":"cms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00243,"percentile":0.09351,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-w5rh-mhxj-wr8r","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/craft-cms-5.0.0-before-5.10.14-dom-xss-via-returnurl-in-2fa-verification","tags":["third-party-advisory"]}],"priority":{"score":5.2,"factors":[{"name":"EPSS percentile","points":1.87},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"craft-cms","affectedVersions":[{"vendor":"craftcms","product":"cms","versions":[">= 5.0.0, < 5.10.14"]}],"fixedVersions":[{"vendor":"craftcms","product":"cms","versions":["5.10.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-15T02:42:54.309183Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-97609","exploited":false,"provenance":"source"}}