Kurniaramadhan E-Commerce-PHP Cross-Site Scripting Vulnerability

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in Kurniaramadhan E-Commerce-PHP version 1.0. The issue arises in the Create Product Page, specifically within the file '/admin/create_product.php'. The vulnerability allows for the injection of malicious JavaScript into the application, which could be executed in the context of the user's browser. This XSS vulnerability can be exploited remotely.

Impact

Exploitation of this vulnerability allows for cross-site scripting, where an attacker can inject and execute malicious scripts in the context of the user's browser.

Reproduction

The vulnerability can be reproduced by logging into the admin panel, which can be accessed by exploiting a SQL injection vulnerability to retrieve admin credentials. After logging in, navigate to the 'Create Product' page and enter a script payload, such as an alert script, into the product name field. Once the product is created, the injected script will be executed.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
7.7
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.