{"id":"CVE-2026-109307","aliases":["CVE-2026-109307"],"related":[],"kind":"vulnerability","state":"published","title":"Craft CMS 5.0.0 before 5.10.14 DOM XSS via returnUrl in 2FA Verification","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-12T16:05:04.027Z","modified":"2026-10-15T20:33:06.527Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":2.1,"rating":"LOW"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":2.1,"rating":"LOW"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"5.0.0","fixed":"5.10.14","status":"affected"},{"type":"semver","version":"5.10.14","status":"unaffected"}],"vendor":"craftcms","product":"cms","source":"cvelist"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-w5rh-mhxj-wr8r","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"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"],"sources":["cvelist","nvd"]}],"credits":["doanmanhducz"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-15T02:42:54.309Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-109307","url":"https://www.cve.org/CVERecord?id=CVE-2026-109307","licence":"CVE Terms of Use","modified":"2026-10-15T02:43:02.789Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-109307","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-109307","licence":"Public domain","modified":"2026-10-15T20:33:06.527Z"}],"updatedAt":"2026-11-25T22:59:43.626Z","epss":{"score":0.00185,"percentile":0.0846,"date":"2026-12-01T12:00:22.000Z"}}