Executive brief
light0011 cms is a news and content management system that allows users to search published articles. An unauthenticated attacker can inject SQL commands through the article search field, bypassing authentication to extract sensitive database records or modify data. This permits unauthorized data exfiltration and potential database compromise without any valid credentials.
Technical details
The vulnerability is a classic SQL injection in the ChapterModel::searchChapter function and related search handlers in ChapterController.class.php. The vulnerable code constructs raw SQL WHERE clauses using string interpolation of user-supplied POST and GET parameters (content and tag fields) without parameterized queries or prepared statements. An unauthenticated attacker can supply SQL boolean predicates (e.g., "notfound' OR 1=1 OR 'x'='y") in the search field to alter query logic and extract all database records or execute arbitrary SQL. The attack requires only network access to the web application and no authentication. The vendor was notified via issue report but has not responded or provided a patch.
Affected products
- light0011 cms commit c774dce31c6df0055568a8d5c53d964d99be199d and f72cf46f601efb2a0618c3814cc2f61380b38930
Timeline
- 2026-07-18: disclosed: Vulnerability reported on GitHub issue #7
- 2026-09-04: advisory: CVE-2026-85379 published on NVD