{"id":"CVE-2026-92692","aliases":["CVE-2026-92692","GHSA-jg26-q8hg-3pq4"],"related":[],"kind":"vulnerability","state":"published","title":"Sulu: JCR-SQL2 injection via `categories` query parameter (unauthenticated)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAn unauthenticated JCR-SQL2 injection exists in the Smart Content category filter of the 2.x content query builder.\n\nCategory IDs supplied through the public `?categories=` query parameter are only trimmed and are then concatenated directly into a JCR-SQL2 `WHERE` clause, without the numeric validation that the equivalent tag filter already performs. Any public page that renders a Smart Content element with category filtering enabled evaluates this parameter, so no authentication or special configuration beyond a category-filtered content block is required.\n\nAn anonymous visitor can therefore:\n\n- inject boolean conditions to infer the existence of, and disclose, content nodes they should not see (for example unpublished pages) via blind boolean-based extraction; and\n- submit malformed query fragments that cause query errors or resource-intensive queries, degrading availability.\n\nBecause the sink is a JCR-SQL2 query, the impact is limited to reading and enumerating content-repository nodes and to error/denial-of-service conditions; it cannot be used to modify data through this path.\n\n### Patches\n\nFixed in **2.6.25 and 3.0.8**. Category, tag, and audience-target-group IDs are now cast to integers before they are used in the JCR-SQL2 query, so no attacker-controlled characters can reach the query.\n\n### Workarounds\n\nIf you cannot upgrade immediately:\n\n- Apply the fix manually — cast each ID to an integer where it is concatenated into the category (and, defensively, tag and audience-targeting) `WHERE` clause in the content Smart Content query builder.\n- Alternatively, disable category filtering on publicly reachable Smart Content elements until the patch is applied.","format":"markdown","source":"ghsa"}],"published":"2026-09-23T18:19:26.741Z","modified":"2026-09-23T20:17:22.020Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"< 2.6.25","status":"affected"},{"version":">= 3.0.0, < 3.0.8","status":"affected"}],"vendor":"sulu","product":"sulu","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.6.25"}],"ecosystem":"Packagist","package":"sulu/sulu","purl":"pkg:composer/sulu/sulu","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.0.8"}],"ecosystem":"Packagist","package":"sulu/sulu","purl":"pkg:composer/sulu/sulu","source":"ghsa"}],"references":[{"url":"https://github.com/sulu/sulu/security/advisories/GHSA-jg26-q8hg-3pq4","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sulu/sulu/commit/d19c01487af8c3de2fb3aa145856707a6367392c","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sulu/sulu/releases/tag/2.6.25","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sulu/sulu/releases/tag/3.0.8","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sulu/sulu","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-23T19:34:14.134Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-92692","url":"https://www.cve.org/CVERecord?id=CVE-2026-92692","licence":"CVE Terms of Use","modified":"2026-09-23T19:34:45.146Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jg26-q8hg-3pq4","url":"https://github.com/advisories/GHSA-jg26-q8hg-3pq4","licence":"CC-BY-4.0","modified":"2026-09-23T18:30:05.673Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-92692","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92692","licence":"Public domain","modified":"2026-09-23T20:17:22.020Z"}],"updatedAt":"2026-11-25T22:59:40.671Z","epss":{"score":0.00418,"percentile":0.38112,"date":"2026-12-01T12:00:22.000Z"}}