Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials via phishing or reuse
-
DeliveryAuthenticate to admin panel
-
ExploitNavigate to /admin/productedit.php
-
ExecutionInject XSS payload into productName parameter
-
PersistVictim admin views poisoned product entry
-
ImpactMalicious JavaScript executes in victim browser
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 the attacker to hold high-privilege administrative credentials for the SUP Online Shopping application (PR:H confirmed by CVSS vector), granting access to the /admin/productedit.php product editing endpoint. The attack is triggered by manipulating the productName parameter with a crafted XSS payload during product creation or editing. Additionally, user interaction is required (UI:P per CVSS): a second authenticated user - such as another admin - must view or render the poisoned product page for the JavaScript to execute. Key limiting factors: the attacker must already be an authenticated high-privilege admin, dramatically narrowing the attacker pool; a victim user must subsequently interact with the injected content; and the impact is bounded to low integrity effects with no confidentiality exposure per the CVSS vector. No non-default configuration is required beyond a functional admin session with access to product editing. |
| Impact | The CVSS 4.0 base score of 1.9 is very low and accurately reflects the constrained attack prerequisites encoded in the vector: high privileges required (PR:H), user interaction required (UI:P), and limited impact - no confidentiality breach (VC:N/SC:N) and only low integrity impact (VI:L/SI:N). An attacker must already hold high-privilege administrative credentials, substantially shrinking the realistic attacker pool to compromised admins or malicious insiders. EPSS at 0.03% (9th percentile) confirms this is not actively sought by opportunistic or mass-scanning threat actors. The publicly available POC (GitHub issue) is a real signal but does not materially elevate risk given the authentication barrier. No CISA KEV listing is present. The CVSS vector is internally consistent with the description - the admin-only attack surface logically requires high privileges. Overall, this is a low real-world priority: the attacker already has more destructive administrative capabilities than XSS provides, limiting meaningful adversarial leverage beyond session hijacking within the same privilege tier. |
| Exploit ScenarioDerived | An attacker who has obtained high-privilege admin credentials - through phishing, credential stuffing, or insider access - logs into the SUP Online Shopping admin panel and navigates to /admin/productedit.php, injecting a JavaScript payload such as an alert or cookie-stealing script into the productName field. When a second authenticated admin user subsequently views or edits the poisoned product entry, the script executes in their browser session, potentially exfiltrating their session cookie or performing unauthorized actions within the admin panel on their behalf. A publicly available POC documenting these steps is referenced at https://github.com/redshadowword-cell/CVE/issues/13. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Cross-site scripting in SourceCodester SUP Online Shopping 1.0 is exploitable via the productName parameter in /admin/productedit.php, where unsanitized input is rendered back to the browser without proper encoding. An attacker already holding high-privilege admin credentials can inject a JavaScript payload that executes when another user interacts with the affected admin page. Publicly available exploit code exists per a referenced GitHub issue, though EPSS at 0.03% (9th percentile) and absence from CISA KEV indicate negligible active exploitation interest at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis for SourceCodester SUP Online Shopping 1.0; the vendor site at https://www.sourcecodester.com/ and VulDB entry https://vuldb.com/vuln/365340 should be monitored for future releases. As a direct code-level fix, the productName input should be sanitized using PHP's htmlspecialchars() with ENT_QUOTES encoding before rendering in /admin/productedit.php; this requires direct source modification and testing for regressions in product name display. As an architectural control, access to the /admin/ directory should be restricted to trusted internal IP ranges via server or firewall configuration, reducing the network-reachable attack surface at the cost of blocking remote admin access. Deploying a WAF rule targeting XSS patterns in the productName parameter provides an additional layer of defense, though legitimate product names containing special characters (ampersands, angle brackets) may trigger false positives and require tuning.
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
The affected application is SourceCodester SUP Online Shopping 1.0, a PHP-based e-commerce platform (CPE: cpe:2.3:a:sourcecodester:sup_online_shopping:*:*:*:*:*:*:*:*). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-Site Scripting), a class of flaw where user-supplied input to the productName argument in the /admin/productedit.php administrative endpoint is reflected or stored without output encoding. PHP applications that render untrusted user input directly into HTML responses without applying htmlspecialchars() or equivalent functions are a canonical source of this vulnerability class. The flaw resides entirely within the administrative interface, meaning the attack surface is limited to the admin panel and authenticated sessions that interact with product editing functionality.
Know when Sup Online Shopping 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:H/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
Lifecycle Timeline
1DescriptionCVE.org
A vulnerability was identified in SourceCodester SUP Online Shopping 1.0. The impacted element is an unknown function of the file /admin/productedit.php. The manipulation of the argument productName leads to cross site scripting. It is possible to initiate the attack remotely. The exploit is publicly available and might 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.
More in Sup Online Shopping
View allSQL injection in SourceCodester SUP Online Shopping 1.0 allows remote unauthenticated attackers to execute arbitrary SQL
SQL injection in SourceCodester SUP Online Shopping 1.0 allows remote unauthenticated attackers to execute arbitrary SQL
SQL injection in SourceCodester SUP Online Shopping 1.0 allows remote unauthenticated attackers to manipulate the delwli
SQL injection in SourceCodester SUP Online Shopping 1.0 allows unauthenticated remote attackers to execute arbitrary SQL
Cross Site Scripting in SUP Online Shopping v.1.0 allows a remote attacker to execute arbitrary code via the Name, Email
EUVD-2026-31589
GHSA-29h5-px7p-c3gq
NVD
CVE.org
EPSS
VulDB
Exploit-DB