Skip to main content

code-projects E-Commerce Website CVE-2025-12333

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

Severity by source

NVD 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
P
Scope
X

Lifecycle Timeline

1
Analysis Generated
Apr 29, 2026 - 02:34 vuln.today

DescriptionCVE.org

A vulnerability has been found in code-projects E-Commerce Website 1.0. This impacts an unknown function of the file /pages/supplier_add.php. The manipulation of the argument supp_name/supp_address leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

AnalysisAI

Reflected cross-site scripting (XSS) in code-projects E-Commerce Website 1.0 allows remote attackers to inject malicious scripts via the supp_name and supp_address parameters in /pages/supplier_add.php. The vulnerability requires user interaction (clicking a crafted link) but enables session hijacking, credential theft, and malware distribution. Publicly available exploit code exists; however, the EPSS score of 0.04% (11th percentile) indicates exploitation remains uncommon despite disclosure, likely due to limited deployment of this niche e-commerce platform.

Technical ContextAI

The vulnerability is a reflected XSS flaw (CWE-79: Improper Neutralization of Input During Web Page Generation) in a PHP-based e-commerce application. The supplier management endpoint /pages/supplier_add.php fails to sanitize or encode user-supplied input in the supp_name and supp_address parameters before reflecting them in HTTP responses. Attackers craft malicious URLs containing JavaScript payloads that execute in the victim's browser within the application's security context, bypassing the same-origin policy when the victim is authenticated. The affected product is code-projects E-Commerce Website version 1.0, as identified by CPE cpe:2.3:a:fabian:e-commerce_website:1.0:*:*:*:*:*:*:*.

RemediationAI

No vendor-released patch has been identified at time of analysis. Immediate workarounds include: implementing input validation and output encoding for the supp_name and supp_address parameters using HTML entity encoding or context-aware escaping libraries (such as OWASP ESAPI or htmlspecialchars() in PHP with ENT_QUOTES flag); deploying a Web Application Firewall (WAF) rule to block requests containing JavaScript keywords or script tags in supplier-related parameters; restricting access to /pages/supplier_add.php to authenticated users only and enforcing CSRF tokens; and enabling Content Security Policy (CSP) headers to prevent inline script execution. If the affected application is mission-critical and cannot be removed, apply a custom patch to the supplier_add.php file sanitizing input before output. Consider upgrading to a maintained e-commerce platform if this product is no longer actively developed by the vendor.

Share

CVE-2025-12333 vulnerability details – vuln.today

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