cvelo
P2 · HighCVSS 7.1EPSS 0.2%

Craft CMS 4.0.0 before 4.18.9 Blind SQL Injection via getNext/getPrev Criteria

  • CVE-2026-123489
  • GHSA-w2f7-mc8w-f637
  • EUVD-2026-118289

Description

Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 contains a blind SQL injection vulnerability because the sandbox-exposed getNext() and getPrev() methods pass arbitrary criteria arrays to Craft::configure() without removing SQL-bearing properties such as orderBy and where. Authenticated control panel users can supply a crafted elementIds value, rendered as a sandboxed template, to obtain a conditional SQL oracle under the Craft database account.

Text from the CVE.org record.

Recommendation

  • craftcms cms

    • If you run a version from 5.0.0 to before 5.11.2update to 5.11.2 or laterMinor version change: check the release notes
    • If you run a version from 4.0.0 to before 4.18.9update to 4.18.9 or laterMinor version change: check the release notes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • craftcms cms

    Affected versionsFixed in
    from 5.0.0 to before 5.11.25.11.2
    from 4.0.0 to before 4.18.94.18.9

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.