abhicodebox ModernShop CVE-2025-12267
LOWAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker crafts malicious link with XSS payload
-
DeliveryAttacker sends link via phishing or posts publicly
-
ExploitVictim clicks link to search functionality
-
ExecutionBrowser reflects unencoded payload in page
-
PersistJavaScript executes in victim context
-
ImpactAttacker steals session token or hijacks account
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 | The following conditions are REQUIRED for exploitation: the target must be running abhicodebox ModernShop version 20250922 or similarly vulnerable versions; the /search endpoint must be publicly accessible or accessible to authenticated users; the victim user must click a malicious link containing the XSS payload in the 'q' parameter or have the payload pre-populated in search results via stored XSS. The vulnerability CANNOT be exploited without user interaction (UI:P confirms this) - an attacker cannot trigger XSS through network access alone without social engineering. Default installations with no special configuration are vulnerable if the search feature is enabled and output encoding is not implemented. |
| Impact | Despite the CVSS score of 2.1, this vulnerability presents low real-world risk when analyzed against multiple exploitation signals. The CVSS vector indicates network accessibility (AV:N) and low attack complexity (AC:L), but critically requires user interaction (UI:P) to trigger the XSS payload. The EPSS score of 0.03% (8th percentile) suggests minimal practical exploitation probability, likely because the attack requires social engineering to convince users to click a malicious link containing the payload. The published exploit availability (E:P in CVSS) provides a proof-of-concept but does not indicate active weaponization or CISA KEV listing. This is appropriately classified as a low-priority vulnerability unless the application handles sensitive user data or is deployed in high-value environments where stored XSS variants could exist. The integrity impact is rated low (VI:L), confirming impact is limited to session-level tampering rather than server compromise. |
| Exploit ScenarioDerived | An attacker crafts a malicious link to a victim's ModernShop installation with an XSS payload embedded in the /search?q parameter, such as /search?q=<script>alert('xss')</script>, and sends it via phishing email or posts it on forums. When a victim clicks the link while logged into ModernShop, the unencoded payload executes in their browser, allowing the attacker to steal session cookies, perform actions on behalf of the victim, or redirect them to a malicious site. The published exploit code likely demonstrates this mechanism with a proof-of-concept payload. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Cross-site scripting (XSS) vulnerability in abhicodebox ModernShop 20250922 allows remote attackers to inject malicious scripts via the 'q' parameter in the /search endpoint, requiring user interaction to execute. The vulnerability has a published exploit and low CVSS score (2.1) due to user interaction requirement, but affects the integrity of victim sessions with EPSS exploitation probability of 0.03% indicating minimal real-world exploitation likelihood.
RemediationAI
No vendor-released patch identified at time of analysis. Immediate mitigation requires input validation and output encoding: implement HTML entity encoding on all user-supplied input reflected in HTTP responses, particularly the 'q' parameter in the /search endpoint using functions appropriate to the output context (e.g., htmlspecialchars() in PHP). Apply content security policy (CSP) headers with script-src directives to restrict inline script execution, reducing payload effectiveness even if XSS injection succeeds. Consider input whitelisting for the search parameter to allow only alphanumeric characters and spaces. For organizations unable to patch immediately, disable the /search endpoint if not critical to business operations, or require authentication before search access. Review the Codester platform advisory at https://www.codester.com/items/comments/58847/modern-shop-php-ecommerce-platform for vendor guidance and monitor for official patches from abhicodebox.
Affected ProductsAI
abhicodebox ModernShop version 20250922 is confirmed affected. The vulnerability exists in the search functionality endpoint. Additional version information and product CPE details are not available from the provided data, limiting assessment of version range or upgrade path.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the search functionality of ModernShop, a PHP-based e-commerce platform. The /search endpoint fails to properly sanitize or encode user-supplied input in the 'q' query parameter before reflecting it in HTTP responses. This is a classic reflected cross-site scripting (CWE-79) flaw where untrusted user input is directly output to the browser without HTML encoding, allowing attackers to inject arbitrary JavaScript code that executes in the context of the victim's browser session.
Know when the next one hits your stack
- 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:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A flaw has been found in abhicodebox ModernShop 20250922. This issue affects some unknown processing of the file /search. Executing manipulation of the argument q can lead to cross site scripting. The attack may be performed from remote. The exploit has been published and may be used.
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.
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB