{"schemaVersion":3,"id":"CVE-2026-109307","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-10-12T16:05:04.027Z","modified":"2026-10-15T02:43:02.789Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.7,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":2.1,"severity":"low","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2.1,"severity":"low","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00185,"percentile":0.07619,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-13T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00185,"percentile":0.07619}],"last30":[{"date":"2026-10-13T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00185,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00185,"percentile":0.07619}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"craftcms","product":"cms","name":"cms","label":"cms","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.0.0, < 5.10.14","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.0.0, < 5.10.14","eol":null,"hubHref":"/vendor/craftcms/cms"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-w5rh-mhxj-wr8r","label":"github.com/craftcms/cms/security/advisories/GHSA-w5rh-mhxj-wr8r","hostname":"github.com","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","label":"www.vulncheck.com/advisories/…","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-12T16:05:04.027Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-15T02:43:02.789Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":19,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:25:01.722Z","stale":false,"partial":false}}