Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-12335: Cross Site Scripting in code-projects E-Commerce Website

0
Medium
VulnerabilityCVE-2025-12335cvecve-2025-12335
Published: Mon Oct 27 2025 (10/27/2025, 23:32:05 UTC)
Source: CVE Database V5
Vendor/Project: code-projects
Product: E-Commerce Website

Description

A vulnerability was determined in code-projects E-Commerce Website 1.0. Affected by this vulnerability is an unknown functionality of the file /pages/supplier_update.php. This manipulation of the argument supp_name/supp_address causes cross site scripting. The attack can be initiated remotely. The exploit has been publicly disclosed and may be utilized.

AI-Powered Analysis

AILast updated: 11/04/2025, 03:23:01 UTC

Technical Analysis

CVE-2025-12335 is a Cross Site Scripting (XSS) vulnerability identified in version 1.0 of the code-projects E-Commerce Website, specifically within the /pages/supplier_update.php file. The vulnerability arises due to improper sanitization of user-supplied input parameters, namely supp_name and supp_address, which are susceptible to script injection. An attacker can remotely craft malicious payloads that, when processed by the vulnerable page, execute arbitrary JavaScript in the context of the victim's browser. This can lead to session hijacking, theft of sensitive information, or manipulation of the web interface. The vulnerability does not require any authentication or privileges to exploit, but it does require user interaction to trigger the malicious script. The CVSS 4.0 base score is 5.3 (medium severity), reflecting the network attack vector, low complexity, no privileges or user interaction required for initial access, but user interaction is needed to activate the payload. No patches have been officially released, and no known exploits are currently active in the wild, although the exploit details have been publicly disclosed. This vulnerability highlights the importance of proper input validation and output encoding in web applications, especially in e-commerce platforms handling supplier data updates.

Potential Impact

For European organizations, exploitation of this XSS vulnerability could result in unauthorized access to user sessions, leading to potential data theft, fraudulent transactions, or defacement of supplier-related pages. While the direct impact on system availability is low, the integrity and confidentiality of user data could be compromised. This is particularly concerning for e-commerce businesses that handle sensitive supplier and customer information. The reputational damage and potential regulatory consequences under GDPR for data breaches involving personal data could be significant. Additionally, attackers could leverage this vulnerability as a foothold for more complex attacks, such as phishing campaigns targeting suppliers or customers. The medium severity rating indicates a moderate risk, but the ease of remote exploitation without authentication increases the urgency for mitigation.

Mitigation Recommendations

European organizations using code-projects E-Commerce Website version 1.0 should immediately implement the following mitigations: 1) Apply input validation on the supp_name and supp_address parameters to restrict or sanitize input, removing or encoding potentially malicious characters such as <, >, ", ', and &. 2) Implement context-aware output encoding on all user-supplied data rendered in HTML to prevent script execution. 3) Deploy or update Web Application Firewalls (WAFs) with rules specifically targeting XSS attack patterns, focusing on the affected URL /pages/supplier_update.php. 4) Conduct thorough code reviews and security testing to identify and remediate similar vulnerabilities in other parts of the application. 5) Educate users and administrators about the risks of XSS and encourage cautious interaction with supplier update pages. 6) Monitor logs for suspicious activity related to the affected parameters. 7) If possible, upgrade to a patched version once available or consider alternative e-commerce platforms with better security track records. These measures go beyond generic advice by focusing on the specific vulnerable parameters and the affected application context.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulDB
Date Reserved
2025-10-27T12:38:35.340Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6900024dba6dffc5e21931f9

Added to database: 10/27/2025, 11:37:49 PM

Last enriched: 11/4/2025, 3:23:01 AM

Last updated: 12/12/2025, 7:27:45 AM

Views: 140

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats