Skip to content
PatchBriefing

Search PatchBriefing

Type at least two characters. Results update as you type.

Search CVEs, products, packages and article titles.

Nothing found. Identifiers such as CVE and GHSA can be searched in both languages.

Subscribe

High · 7.1 PHP packages CVE-2026-112064 PKSA-s32p-q272-ns98 CVE-2026-112065 PKSA-xc65-qxpn-2x5q

Three TYPO3 Extension Flaws in sg-cookie-optin Allow Data Theft and Script Injection by Backend Users

Three vulnerabilities in the TYPO3 extension sgalinski/sg-cookie-optin let authenticated backend users with limited permissions read sensitive database contents, including password hashes, access consent data from other sites in an installation, and inject arbitrary scripts into the frontend. No fixed version is currently listed.

By PatchBriefing · ·

Produced automatically from official sources with the help of AI. How we work →

AI summary

Three separate vulnerabilities have been disclosed in sgalinski/sg-cookie-optin, a TYPO3 extension used to manage cookie consent. All three require an authenticated backend account but differ in what that account can be used to do: extract arbitrary database contents through SQL injection, read consent data belonging to other sites in the same installation, or inject scripts into the frontend through a configuration import function. All three issues affect the same version range and no fixed version has been published at this time.

What happened

Three distinct vulnerabilities were disclosed in the TYPO3 extension sgalinski/sg-cookie-optin. CVE-2026-112064 is an SQL injection in the backend module that reviews consent history: sorting, grouping and index options supplied in the request were used directly in a database query without validation, while only the filter conditions were properly parameterized. CVE-2026-112065 is a missing authorization check in the routes that serve consent history and statistics data, allowing any authenticated backend user to retrieve consent data for any site in the installation regardless of their assigned permissions. CVE-2026-112066 is a missing permission check in the JSON import function for cookie consent configuration, allowing non-admin backend users with module access to import a configuration that injects arbitrary scripts into the site's frontend.

Technical cause

CVE-2026-112064 (CWE-89, SQL Injection) stems from unvalidated use of sorting, grouping and index parameters from the request in a database query; only filter conditions in that query were bound as parameters, leaving the rest of the query structure exposed to manipulation. CVE-2026-112065 and CVE-2026-112066 both stem from missing authorization checks (CWE-862): in the first case, routes delivering consent history and statistics data did not verify that the requesting backend user had access to the relevant module or page; in the second, the JSON configuration import function did not verify that the importing user held sufficient (admin-level) permissions before applying changes that affect the frontend.

Why it matters

The SQL injection (CVE-2026-112064) can expose arbitrary database content to a backend user with access to the history or statistics functions, including password hashes of both backend and frontend users, which could enable further compromise if those hashes are cracked or reused. The missing authorization issue (CVE-2026-112065) breaks tenant or site-level isolation within a single TYPO3 installation, letting a user who should only see one site's data read consent data from other sites. The configuration import flaw (CVE-2026-112066) allows a non-admin backend user to escalate their effective capability to inject scripts into the public frontend of the website, which is normally restricted to administrators.

Who is affected

Any TYPO3 installation using the sgalinski/sg-cookie-optin extension within the affected version ranges is potentially impacted. Exploitation in all three cases requires an authenticated backend user account; CVE-2026-112065 and CVE-2026-112066 specifically affect installations where backend users with limited permissions (non-admin) have access to the cookie consent module.

Affected versions

All three vulnerabilities affect sgalinski/sg-cookie-optin versions 8.0.0 up to but not including 8.1.12, and all versions before 7.4.6.

Fixes and mitigation

No fixed version is currently listed in the fact package for any of the three vulnerabilities. Site operators should monitor the vendor for an update and in the meantime restrict backend access to the cookie consent module to trusted, fully-privileged users where possible, since all three issues require an authenticated backend account to exploit.

Recommended action

Review which backend users have access to the sg_cookie_optin module and restrict access to administrators or fully trusted accounts until a fix is released. Monitor for a vendor update addressing CVE-2026-112064, CVE-2026-112065 and CVE-2026-112066, and apply it as soon as it becomes available. Consider rotating credentials if password hash exposure via CVE-2026-112064 is suspected.

PatchBriefing score

7.1 / 10 · High

Official CVSS: 7.1

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

EPSS 0.0040 (25 percentile)

Why this score

The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.

Affected versions

sgalinski/sg-cookie-optin >=8.0.0,<8.1.12|<7.4.6
vulnerable
sgalinski/sg-cookie-optin >=8.0.0,<8.1.12|<7.4.6
vulnerable
sgalinski/sg-cookie-optin >=8.0.0,<8.1.12|<7.4.6
vulnerable

Reported fixes

No fixed version is currently listed in the fact package for any of the three vulnerabilities. Site operators should monitor the vendor for an update and in the meantime restrict backend access to the cookie consent module to trusted, fully-privileged users where possible, since all three issues require an authenticated backend account to exploit.

How this was built

6 source records were collected, matched and used to prepare the report above.

  • NVD (NIST) database
  • NVD (NIST) database
  • NVD (NIST) database
  • Packagist Security Advisories registry
  • Packagist Security Advisories registry
  • Packagist Security Advisories registry
Unified report
Three TYPO3 Extension Flaws in sg-cookie-optin Allow Data Theft and Script Injection by Backend Users
1 article · 6 sources cited
Revision history
  1. Published
  2. Generated
  3. Published
  4. Generated
The Morning Brief

Relevant changes for the stacks you follow.

Choose your stacks, topics and optional WordPress plugins. At 07:00 CET, matching advisories and releases from the reporting period are grouped into one email.

✓ Choose stacks and topics✓ Change preferences anytime✓ One grouped email