All vulnerabilities
CVE-2026-109307GHSA-w5rh-mhxj-wr8r

Craft CMS 5.0.0 before 5.10.14 DOM XSS via returnUrl in 2FA Verification

craftcms cms
CVSS
2.1Low
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.18%Chance of exploitation activity in the next 30 days, higher than 7% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in5.10.14Fixed versionCVE List
Published12 Oct 2026Updated 15 Oct 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 2

  • cmsaffected: 5.0.0 before 5.10.14CVE List
  • cmsunaffected: 5.10.14CVE List

References 2