Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with Theme Customization permission
-
DeliveryOpen Theme Customizer style property field
-
ExploitInject @import (inline) LESS directive referencing sensitive file
-
ExecutionTrigger LESS compilation on the server
-
PersistSensitive file contents embedded in public CSS cache
-
ImpactFetch CSS cache file unauthenticated to exfiltrate credentials
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
|
| Exploitation Conditions | Exploitation requires an authenticated CMS account with the 'Theme Customization' permission explicitly granted in Concrete CMS - this is a non-default, operator-assigned privilege typically held by site designers or administrators, not anonymous users or standard editors. The LESS compilation pipeline must be active in the Theme Customizer (reflected by AT:P in the CVSS 4.0 vector), which is the default behavior when themes are installed and customizable. The vulnerable injection points are the style value fields handled by ColorStyle, FontFamilyStyle, and ImageStyle classes. The file-read impact is bounded by the OS-level permissions of the PHP process; the SSRF impact via PHP stream wrappers is bounded by network access from the server. Exploitation is limited to Concrete CMS 9.x through 9.5.2 - the CVE does not assert impact on 8.x or other branches. |
| Impact | The vendor-assigned CVSS 4.0 score of 5.9 (Medium) is calibrated appropriately: PR:H correctly captures that exploitation requires Theme Customization permission, a non-default privilege not typically granted to untrusted users, and AT:P confirms a specific precondition - active LESS compilation in the Theme Customizer pipeline. Despite the Medium score, the confidentiality impact is severe where the permission model is loose: VC:H covers the full PHP-process filesystem read surface, meaning database credentials, private keys, and application secrets can be exfiltrated and immediately exposed via the public CSS cache, requiring no further attacker interaction. The SSRF vector via PHP stream wrappers further extends reach to internal network services, compounding the risk in environments with database or API backends on private subnets. Even a mid-sized municipal IT team in swidnica should treat this as a high-priority patch for any installation where Theme Customization is granted to partially trusted users, editors, or third-party design agencies. No EPSS data, KEV listing, or public exploit code has been identified at time of analysis, which appropriately tempers urgency for organizations where this permission is tightly controlled; the realistic threat model is a compromised or malicious privileged CMS account, not an external unauthenticated attacker. |
| Exploit ScenarioDerived | An attacker with Theme Customization permission opens the Concrete CMS Theme Customizer and submits a malicious color channel value containing a LESS @import (inline) directive pointing to a sensitive PHP configuration file - for example, the database configuration at application/config/database.php. When the server processes the style update, the LESS compiler reads and embeds the file's contents into the generated CSS, which is flushed to the site's public CSS cache directory. The attacker then fetches the cached CSS file unauthenticated over HTTP, recovering embedded database credentials or private keys without any further privilege. No public exploit code has been identified, but the injection technique maps to well-documented LESS template injection research and carries low execution complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 11, 2026
Server-Side Template Injection in Concrete CMS 9 through 9.5.2 allows a privileged user holding the Theme Customization permission to inject arbitrary LESS directives into style values processed by the server-side LESS compiler. By crafting an @import (inline) directive within color, font, or image style fields, the attacker can read arbitrary files from the server filesystem and reach internal network resources via PHP stream wrappers, with the compiled output - including any exfiltrated file contents - written directly to the publicly accessible CSS cache. This combination of sensitive file disclosure and SSRF enables credential theft and further lateral movement; no public exploit has been identified at time of analysis.
RemediationAI
Vendor-released patch: Concrete CMS 9.5.3. Upgrade immediately to version 9.5.3 or later following the standard CMS upgrade procedure; the release notes at https://documentation.concretecms.org/developers/introduction/version-history/953-release-notes provide upgrade guidance. As an immediate compensating control, audit and restrict the Theme Customization permission so it is held exclusively by fully trusted administrators - removing it from editor, contributor, and agency roles eliminates the attack surface entirely without requiring code changes. Additionally, ensure the PHP process runs under a dedicated low-privilege system account with filesystem access scoped to the webroot, which limits the blast radius of the @import (inline) file-read vector even if exploitation occurs. If LESS compilation can be disabled for non-customization deployments or in staging environments, doing so removes the vulnerable code path; note that this will break live theme preview functionality.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Concrete CMS is a PHP-based content management system that compiles LESS (Leaner CSS) stylesheets server-side to produce the site's CSS. The Theme Customizer exposes style properties - color channels, font families, image references - through PHP classes including ColorStyle, FontFamilyStyle, and ImageStyle. User-supplied values from the customizer are interpolated directly into LESS source code prior to compilation without sanitization or neutralization of LESS-specific syntax, satisfying CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine). The LESS @import (inline) directive is the critical gadget: it reads and inlines the contents of any file accessible to the PHP process - local or remote via PHP stream wrappers such as file://, php://, or http:// - directly into the compiled output, which is then written to a publicly served CSS cache file. The CPE cpe:2.3:a:concrete_cms:concrete_cms:*:*:*:*:*:*:*:* covers all affected 9.x versions through 9.5.2.
Know when Concrete Cms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network exploitation via web UI requires High privileges (Theme Customization role); only confidentiality impacted via arbitrary file read; no scope change or integrity/availability impact.
Primary rating from Vendor (ConcreteCMS).
CVSS VectorVendor: ConcreteCMS
DescriptionCVE.org
Concrete CMS 9 through 9.5.2 is vulnerable to Server-Side Template Injection (SSTI) in Theme Customizer via Unvalidated Style Values. Values submitted through the customizer (color channels and other style properties handled by ColorStyle and sibling Style classes such as FontFamilyStyle and ImageStyle) are interpolated into server-compiled LESS source without neutralization of LESS syntax, allowing a user with the Theme Customization permission to inject arbitrary LESS directives. By injecting the @import (inline) directive, an attacker can read arbitrary files on the server and reach internal network resources through PHP stream wrappers. The compiled output, including any disclosed file contents, is written to the site's publicly served CSS cache, exposing database credentials, private keys, and other application secrets, and enabling server-side request forgery. The Concrete CMS security team gave this vulnerability a CVSS v4.0 score of 5.9 with vector CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N. Thanks Yonatan Drori from Tenzai for reporting.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
More in Concrete Cms
View allUnauthenticated user enumeration in Concrete CMS 9.0.0 through 9.5.2 allows any anonymous visitor to dump the complete b
A bypass of adding remote files in Concrete CMS (previously concrete5) File Manager leads to remote code execution in Co
Concrete5 through 8.5.5 deserializes Untrusted Data. Rated high severity (CVSS 7.2), this vulnerability is remotely expl
Concrete5 up to and including 8.5.2 allows Unrestricted Upload of File with Dangerous Type such as a .php file via File
Concrete5 before 8.5.3 allows Unrestricted Upload of File with Dangerous Type such as a .phar file. Rated high severity
A Server Side Request Forgery (SSRF) vulnerability in tools/files/importers/remote.php in concrete5 8.2.0 can lead to at
Unauthenticated file usage disclosure in Concrete CMS 9.5.0 and below exposes internal page structure to any network-acc
concrete5 8.1.0 places incorrect trust in the HTTP Host header during caching, if the administrator did not define a "ca
Concrete CMS versions below 9.4.8 contain a cross-site request forgery vulnerability in the Anti-Spam Allowlist Group Co
concrete5 8.1.0 has CSRF in Thumbnail Editor in the File Manager, which allows remote attackers to disable the entire in
Unauthenticated information disclosure in Concrete CMS 9.5.0 and earlier allows remote attackers to enumerate all conver
Unauthenticated information disclosure in Concrete CMS 9.5.0 and below allows any network-accessible attacker to enumera
EUVD-2026-76193
GHSA-77q8-j8j6-95hj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB