Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister customer account
-
DeliverySubmit RMA return request
-
ExploitStore XSS payload in comment
-
ExecutionPayload saved to mail_logs.content
-
PersistAdmin opens Mail Logs entry
-
ImpactScript executes in admin session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an attacker to hold a registered customer account (PR:L) and the ability to submit a return/RMA request with an attacker-controlled comment field; the payload is stored to mail_logs.content via the admin_rma_new/rma_new mail templates. It is NOT self-executing: an administrator must subsequently open the specific entry in the admin Mail Logs viewer (mail_logs/show.blade.php) for the script to run (UI:P), which materially limits reliability and timing. These factors - required customer registration plus required admin viewing action - bound real-world risk below what the network attack vector alone implies. |
| Impact | This is a moderate-severity stored XSS (vendor CVSS 4.0 base 5.1) whose real-world urgency is tempered by several gating factors rather than amplified. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N) indicates network reach and low attack complexity, but PR:L confirms the attacker must hold a valid registered-customer account and UI:P confirms the payload only fires when an administrator passively views the Mail Logs entry - so exploitation is not self-contained and depends on victim action. There is no CISA KEV listing and no EPSS score was supplied, so widespread or automated exploitation is not evidenced; this is no public exploit identified at time of analysis. The source-code diff confirms the mechanism precisely (two Blade templates used unescaped |
| Exploit ScenarioDerived | A registered customer submits a product return (RMA) request and places a JavaScript payload in the comment field, which is stored unsanitized into mail_logs.content. When a store administrator later opens that entry under admin Mail Logs, the script executes in the admin's authenticated browser session, enabling session-context actions such as token theft or admin-panel requests. No confirmed public exploit code exists, but the trigger is straightforward given a customer account and the publicly disclosed templates. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Stored cross-site scripting in BeikeShop (all versions through 2.0.0.32) lets an authenticated registered customer persist script into the store's mail log by submitting a return/RMA request with a crafted comment field, which the admin_rma_new and rma_new mail templates render without escaping. The payload lands in mail_logs.content and executes in an administrator's browser only after that administrator opens the specific entry in the admin Mail Logs viewer, so exploitation depends on both a customer account and a subsequent admin viewing action. No public exploit code was identified at time of analysis, and no CISA KEV listing applies; vendor CVSS 4.0 scores it 5.1, while independent assessment rates it CVSS 3.1 5.4 (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) - moderate severity, with the required registration and the required admin click bounding real-world risk.
RemediationAI
Vendor-released fix is in the upstream commit 3f03f3d194354d10403a881b72d20db3e63e916e (https://github.com/beikeshop/beikeshop/commit/3f03f3d194354d10403a881b72d20db3e63e916e), which is the authoritative patch reference in the available data; the input does not name a tagged release version that contains it, so deployers should track the BeikeShop release that incorporates this commit rather than assume 2.0.0.32 or any specific tag is clean. Upstream fix available (PR/commit); released patched version not independently confirmed. The commit changes two things and both are needed: the admin_rma_new and rma_new mail templates switch the RMA comment from raw {!! $rma['comment'] !!} output to escaped {{ $rma['comment'] }} with white-space: pre-wrap to retain line breaks in the mail body, and the Mail Logs detail view stops dumping {!! $mail_log->content !!} into the page, rendering it instead inside an iframe with the sandbox attribute and srcdoc so stored markup cannot execute against the admin origin. Because the mail templates generate content that is already persisted in mail_logs, patching the rendering code does not retroactively sanitize existing rows, and the sandboxed iframe is what neutralizes already-stored payloads; if the commit cannot be applied immediately, deploying those two template changes and rebuilding the view cache is the directly evidenced mitigation, at the cost that mail log previews render in a sandboxed frame with reduced fidelity.
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
BeikeShop is a PHP e-commerce platform built on Laravel, and the flaw is a classic CWE-79 output-encoding failure inside its Blade templating layer. The RMA mail templates (themes/default/mails/admin_rma_new.blade.php and rma_new.blade.php) rendered the customer-supplied comment with Blade's raw-output syntax {!! $rma['comment'] !!} instead of the auto-escaping {{ }} form, so markup passed through untouched into the generated notification mail body and was persisted to the mail_logs table's content column. The second sink is the admin Mail Logs detail view (resources/beike/admin/views/pages/mail_logs/show.blade.php), which likewise emitted the stored log body with {!! $mail_log->content !!} inside a plain div, causing the stored markup to be parsed as HTML in the administrator's session rather than displayed as text. The upstream fix addresses both ends: the mail templates now use escaped {{ }} output with white-space: pre-wrap to preserve formatting, and the Mail Logs view renders the stored body inside a sandboxed iframe via srcdoc, isolating any residual markup from the admin origin. CPE data (cpe:2.3:a:beikeshop:beikeshop:*:*:*:*:*:*:*:*) and EUVD both place every release up to and including 2.0.0.32 in scope.
Know when Beikeshop 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:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Registered customer needed (PR:L) and admin must view the entry (UI:R); stored script runs in a different security context so S:C, with limited C/I and no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
BeikeShop through 2.0.0.32 contains a stored cross-site scripting vulnerability that allows registered customers to inject script by submitting an unsanitized RMA comment rendered unescaped in mail templates. Attackers can submit a return request with malicious script saved to mail_logs.content, executing in an administrator's browser session when they view the Mail Logs entry.
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
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Improper authorization in the BeikeShop e-commerce platform (versions up to 1.6.0.22) allows remote unauthenticated atta
Unauthenticated order-state manipulation in BeikeShop 1.5.6.6 through 2.0.0.32 lets remote attackers submit arbitrary se
Guest order records in BeikeShop through 2.0.0.31 can be looked up by order number without proving the requester is the
A vulnerability was found in Chengdu Everbrite Network Technology BeikeShop up to 1.5.5. Rated low severity (CVSS 2.1),
A vulnerability was determined in Chengdu Everbrite Network Technology BeikeShop up to 1.5.5. Rated low severity (CVSS 2
BeikeShop through 2.0.0.31 contains an insecure direct object reference (IDOR) in the markAsShipped handler of RmaContro
A vulnerability was identified in Chengdu Everbrite Network Technology BeikeShop up to 1.5.5. Rated low severity (CVSS 2
EUVD-2026-127239
GHSA-45jj-2937-9572
NVD
CVE.org
EPSS
Exploit-DB