CVE-2026-109307: Craft CMS 5.0.0 before 5.10.14 DOM XSS via returnUrl in 2FA Verification

Published Oct 12, 2026
·
Updated

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 Software

1 affected component
Craft CMS Craft CMS>=5.0.0<5.10.14

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Craft CMS to a version that resolves this vulnerability.

    Fixed in 5.10.14

Event History

Oct 12, 2026
CVE Published
via MITRE·04:05 PM
Data Sourced
via MITRE·04:05 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Craft CMS installations running versions from 5.0.0 before 5.10.14 are exposed when a control-panel user has 2FA enabled. Exploitation targets a victim during the interval between password submission and TOTP verification.

2

What does an attacker need to exploit it?

The attacker does not need prior privileges, but must convince a 2FA-enabled victim to open a crafted /admin/login?verify=1 URL during the login and 2FA verification flow. Successful exploitation requires user interaction and executes JavaScript with the victim's authenticated control-panel permissions.

3

What is the remediation?

Update Craft CMS to version 5.10.14 or later. The affected range is Craft CMS 5.0.0 before 5.10.14.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203