cvelo
P2 · HighCVSS 9.8EPSS 2.0%

Craft CMS 4.0.0 before 4.18.9 SQL Injection via Element Search Endpoint

  • CVE-2026-123488
  • GHSA-qvg8-69ff-cf67
  • EUVD-2026-118288

Description

Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 contains an unauthenticated SQL injection vulnerability in the element search endpoint because the attribute parameter is concatenated into the query unsanitized and emulated PDO prepares allow stacked statements. Remote attackers can read and write the database, setting the admin flag or overwriting password hashes in the users table to gain administrator access.

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.