---
id: CVE-2026-112064
title: SQL Injection in extension "sgalinski Cookie Consent" (sg_cookie_optin)
summary: >-
  The backend module for reviewing the consent history accepted sorting,
  grouping and index options from the request and used them in a database query
  without validation. Only the filter conditions of that query were bound as
  parameters. A…
severity: high
cvss: 7.1
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'
cvssSource: cna
cwe:
  - CWE-89
vendor: TYPO3
product: sgalinski/sg-cookie-optin
affected:
  - sgalinski/sg-cookie-optin >= 8.0.0 < 8.1.12
  - sgalinski/sg-cookie-optin < 7.4.6
published: '2026-10-20'
updated: '2026-10-20'
sourceUpdated: '2026-10-20T09:38:42.788Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112064'
references:
  - url: 'https://typo3.org/security/advisory/typo3-ext-sa-2026-029'
tags:
  - cve.org
ingestedAt: '2026-10-20T12:05:07.343Z'
---

## Overview

The backend module for reviewing the consent history accepted sorting, grouping and index options from the request and used them in a database query without validation. Only the filter conditions of that query were bound as parameters. A backend user with access to the history or statistics functions could use this to read arbitrary data from the database, including password hashes of backend and frontend users.

## Affected

- `sgalinski/sg-cookie-optin >= 8.0.0 < 8.1.12`
- `sgalinski/sg-cookie-optin < 7.4.6`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
