---
title: "TYPO3-EXT-SA-2026-029: Multiple vulnerabilities in extension \"sgalinski Cookie Consent\" (sg_cookie_optin)"
url: "https://news.typo3.com/security/advisory/typo3-ext-sa-2026-029"
description: "It has been discovered that the extension \"sgalinski Cookie Consent\" (sg_cookie_optin) is vulnerable to SQL Injection and Missing Authorization."
image: "https://news.typo3.com/_assets/d1e01514e4c4a5b3147940fa2ec50682/Images/og-image-news.jpg"
date: 2026-10-20
modified: 2026-10-20
categories:
  - TYPO3 Extensions
---

# TYPO3-EXT-SA-2026-029: Multiple vulnerabilities in extension "sgalinski Cookie Consent" (sg_cookie_optin)

- Security / [TYPO3 Extensions](https://news.typo3.com/article/category/security/typo3-extensions)

TYPO3-EXT-SA-2026-029: Multiple vulnerabilities in extension "sgalinski Cookie Consent" (sg\_cookie\_optin)
===========================================================================================================

20 October 2026

![A laptop screen displaying a list of security advisories](https://news.typo3.com/typo3temp/assets/_processed_/d/c/csm_security_blog_default_77f8e86036.webp)

It has been discovered that the extension "sgalinski Cookie Consent" (sg\_cookie\_optin) is vulnerable to SQL Injection and Missing Authorization.

- ![](https://news.typo3.com/typo3temp/assets/t3g/blog/gravatar/e4eaa13e33dd086a9c06f2570cb34609.jpeg)[Torben Hansen](https://news.typo3.com/article/author/torben-hansen)

- Release Date: October 20, 2026
- Component Type: Third party extension. This extension is not a part of the TYPO3 default installation.
- Component: ["sgalinski Cookie Consent" (sg\_cookie\_optin)](https://extensions.typo3.org/extension/sg_cookie_optin)
- Composer Package Name: sgalinski/sg-cookie-optin
- Vulnerability Type: SQL Injection, Missing Authorization
- Affected Versions: 7.4.5 and below, 8.0.0 - 8.1.11
- Severity: High
- Suggested CVSS v4.0: [AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N](https://vulnogram.org/cvss4?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#editor)
- References: [CVE-2026-112064](https://www.cve.org/CVERecord?id=CVE-2026-112064),[ CVE-2026-112065](https://www.cve.org/CVERecord?id=CVE-2026-112065), [CVE-2026-112066](https://www.cve.org/CVERecord?id=CVE-2026-112066),[ CWE-89](https://cwe.mitre.org/data/definitions/89.html),[ CWE-862](https://cwe.mitre.org/data/definitions/862.html)

### Problem Description

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. (CVE-2026-112064)

The routes that provide consent history and statistics data did not check whether the backend user had access to the module or to the requested page. Any authenticated backend user, regardless of permissions, could therefore retrieve consent data of any site in the installation. (CVE-2026-112065)

The JSON import of the cookie consent configuration did not respect the backend user's permissions. Non-admin backend users with access to the module could import a configuration that adds arbitrary scripts to the frontend of the website. (CVE-2026-112066)

### Solution

Updated versions 7.4.6 and 8.1.12 are available from the TYPO3 extension manager, packagist and at

<https://extensions.typo3.org/extension/download/sg_cookie_optin/7.4.6/zip>
<https://extensions.typo3.org/extension/download/sg_cookie_optin/8.1.12/zip>

Users of the extension are advised to update the extension as soon as possible.

### Credits

Thanks to HDWSec and Christian Kuhn for reporting the SQL injection vulnerability, and to Stefan Galinski for providing updated versions of the extension.

### General Advice

Follow the recommendations that are given in the [TYPO3 Security Guide](https://docs.typo3.org/typo3cms/CoreApiReference/Security/Index.html#security).

![](https://news.typo3.com/typo3temp/assets/t3g/blog/gravatar/7cf52722a5b7183b29d378a2284bd103.jpeg)

About the Author

[Torben Hansen](https://news.typo3.com/article/author/torben-hansen)

Open Source Enthusiast & TYPO3 Expert

I’m a passionate open-source advocate and dedicated TYPO3 expert. As a freelancer, I offer professional TYPO3 services to clients while actively contributing to the TYPO3 ecosystem. I have developed several public TYPO3 extensions and serve as the Co-Lead of the TYPO3 Security Team, helping to enhance the platform’s security and functionality. For many years, I have been blogging about TYPO3, sharing insights and expertise with the community.

[More posts by this author](https://news.typo3.com/article/author/torben-hansen)