Patch Ticker
EnglishEN
Elevated

Craft CMS SQL injection via Element::findOne() criteria

CVE-2026-130673

Logged-in users of the Craft CMS website software can peek into its database.

CVE
CVE-2026-130673 (opens in a new tab)
Score
CVSS 7.1
Public date
2026-11-02
First seen
7.1
Products

Mitigation

Update Craft CMS to 5.11.5.

Summary

Craft CMS passes user-supplied array criteria into Element::findOne(), so a logged-in low-privilege user can inject SQL and read database contents. Versions 5.0.0 or later, before 5.11.5, are affected.

Affected when

  • A logged-in account
  • users.allowPublicRegistration = true (anyone can create an account when public registration is on)

4 other Incidents of this product in the last 30 days

Incidents by product: Craft CMS

Other recent Incidents of Craft CMS

All Incidents of 2026-11-18

Read the advisory · github.com (opens in a new tab)