Executive brief
code-projects Online Shopping System is a PHP-based e-commerce platform. A reflected cross-site scripting (XSS) vulnerability in the newsletter subscription feature allows attackers to inject malicious scripts that execute in users' browsers, potentially stealing session cookies, redirecting to phishing sites, or performing unauthorized actions on behalf of victims.
Technical details
A reflected cross-site scripting (XSS) vulnerability exists in the /offersmail.php file of the Newsletter Subscription component in code-projects Online Shopping System 1.0. The email parameter fails to properly sanitize or validate user input before reflecting it back to the client. An attacker can craft a malicious link containing JavaScript code in the email parameter that executes when a user visits the link or interacts with the page. The vulnerability requires user interaction (clicking a malicious link) and can be exploited remotely without authentication. A patch or fix status is not specified in the advisory.
Affected products
- code-projects Online Shopping System 1.0
Timeline
- 2026-08-31: disclosed
- other: Exploit made public