CVE-2026-92692

Sulu: JCR-SQL2 injection via `categories` query parameter (unauthenticated)

Published Sep 23, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
Sulu is an open-source PHP content management system based on the Symfony framework. Prior to 2.6.25 and 3.0.8, the affected Sulu 2.6 and 3.0 release lines have a Smart Content QueryBuilder in src/Sulu/Component/Content/SmartContent/QueryBuilder.php that concatenates category identifiers from the public categories query parameter into a JCR-SQL2 WHERE clause without numeric validation. On a public page containing a category-filtered Smart Content block, an unauthenticated attacker can alter query conditions to infer or enumerate content-repository nodes, including unpublished content, or submit malformed and expensive query fragments that degrade availability; this path does not modify repository data. This issue is fixed in versions 2.6.25 and 3.0.8.

Analysis

AI-generated

Technical impact

Sulu’s Smart Content QueryBuilder concatenates category identifiers from the public categories query parameter into a JCR‑SQL2 WHERE clause without validating that the identifiers are numeric. This flaw permits an unauthenticated attacker to alter the query conditions, enabling the inference or enumeration of repository nodes, including unpublished content. The attacker can also craft malformed or expensive query fragments that may reduce the availability of the affected page. The vulnerability does not modify the underlying repository data but can expose sensitive information or degrade service performance.

Affected Systems

The vulnerability affects Sulu CMS versions on the 2.6 and 3.0 release lines that are older than 2.6.25 and 3.0.8, respectively. These are the last releases of the 2.6.x and 3.0.x lines before the fix was applied. Users running any 2.6.x prior to 2.6.25 or any 3.0.x prior to 3.0.8 are impacted.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate impact. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is unauthenticated and relies on a public page containing a Smart Content block that accepts a categories query parameter. An attacker can invoke the vulnerable endpoint by manipulating the URL or form data, making this easily exploitable without special credentials. The flaw can lead to theft of unpublished content and possible denial‑of‑service via resource‑hungry queries.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Sulu to version 2.6.25 or later, or 3.0.8 or later, where the fix has been applied.
  • If an upgrade cannot be performed immediately, restrict public access to pages that expose the Smart Content block or block the categories query parameter for unauthenticated users.
  • Implement server‑side validation or sanitization to ensure that category identifiers are numeric before they are concatenated into any JCR‑SQL2 query.

Generated by OpenCVE AI on September 23, 2026 at 19:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jg26-q8hg-3pq4 Sulu: JCR-SQL2 injection via `categories` query parameter (unauthenticated)
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Sulu
Sulu sulu
Vendors & Products Sulu
Sulu sulu
Type Values Removed Values Added
Description Sulu is an open-source PHP content management system based on the Symfony framework. Prior to 2.6.25 and 3.0.8, the affected Sulu 2.6 and 3.0 release lines have a Smart Content QueryBuilder in src/Sulu/Component/Content/SmartContent/QueryBuilder.php that concatenates category identifiers from the public categories query parameter into a JCR-SQL2 WHERE clause without numeric validation. On a public page containing a category-filtered Smart Content block, an unauthenticated attacker can alter query conditions to infer or enumerate content-repository nodes, including unpublished content, or submit malformed and expensive query fragments that degrade availability; this path does not modify repository data. This issue is fixed in versions 2.6.25 and 3.0.8.
Title Sulu: JCR-SQL2 injection via `categories` query parameter (unauthenticated)
Weaknesses CWE-89
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 23, 2026, 7:34 PM
Reserved
Sep 16, 2026, 4:22 PM
Status
Deferred
Published
Sep 23, 2026, 7:19 PM
Modified
Sep 23, 2026, 8:17 PM