Code-Projects Online Shop Cross-Site Scripting Vulnerability

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in Code-Projects Online Shop version 1.0. The issue resides in the file '/view.php', where user-supplied input in the '$name' and '$details' parameters is echoed without proper validation. This flaw allows remote attackers to inject malicious scripts, potentially leading to the theft of sensitive client information.

Impact

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

Reproduction

To reproduce this vulnerability, send a request to '/view.php' with crafted '$name' and '$details' parameters that include JavaScript payloads. The injected scripts will be executed when the page is viewed.

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

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
1.7
exploitability
7.9
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.