Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. silverstripe/framework
  4. ›
  5. CVE-2022-38148

CVE-2022-38148: Blind SQL Injection via GridFieldSortableHeader

November 22, 2022 (updated April 30, 2025)

Gridfield state is vulnerable to SQL injections. The vast majority of Gridfields in Silverstripe CMS are affected by this vulnerability.

An attacker with CMS access could execute an arbitrary SQL statement by adding an SQL payload in some parts of the GridField state.

References

  • forum.silverstripe.org/c/releases
  • github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2022-38148.yaml
  • github.com/advisories/GHSA-rr8h-f97q-8p9c
  • nvd.nist.gov/vuln/detail/CVE-2022-38148
  • www.silverstripe.org/blog/tag/release
  • www.silverstripe.org/download/security-releases
  • www.silverstripe.org/download/security-releases/CVE-2022-38148

Code Behaviors & Features

Detect and mitigate CVE-2022-38148 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.0.0 before 4.10.11, all versions starting from 4.11.0 before 4.11.14

Fixed versions

  • 4.10.11
  • 4.11.14

Solution

Upgrade to versions 4.10.11, 4.11.14 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

packagist/silverstripe/framework/CVE-2022-38148.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:28 +0000.