Skip to content
CVE PROGRAM SOURCE RECORD2.1 Low

CVE-2026-109307

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

craftcms cms

Default version status: unaffected

  • 5.0.0 to < 5.10.14affected
  • 5.10.14unaffected

References