Skip to main content

abhicodebox ModernShop CVE-2025-12267

LOW
Cross-site Scripting (XSS) (CWE-79)
2025-10-27 cna@vuldb.com
2.1
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker crafts malicious link with XSS payload
  2. Delivery
    Attacker sends link via phishing or posts publicly
  3. Exploit
    Victim clicks link to search functionality
  4. Execution
    Browser reflects unencoded payload in page
  5. Persist
    JavaScript executes in victim context
  6. Impact
    Attacker 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (vuldb) PRIMARY 2.1 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.0%
Top 92% exploitable
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy