Submit #894394: code-projects Online Shopping System In PHP With Source Code 1.0 Cross Site Scriptinginfo

Titelcode-projects Online Shopping System In PHP With Source Code 1.0 Cross Site Scripting
BeschreibungThe Online Shopping System in PHP v1.0 is vulnerable to a Stored Cross-Site Scripting (XSS) vulnerability in the newsletter subscription functionality implemented by the offersmail.php endpoint. The vulnerability exists because the application accepts user-supplied input through the email parameter and stores it without performing adequate server-side validation or sanitization. When the stored email address is subsequently displayed within the administrative interface or any page that lists newsletter subscribers, the application renders the stored value directly into the HTML response without applying proper contextual output encoding. An attacker can exploit this issue by submitting a specially crafted JavaScript payload in the email parameter when subscribing to promotional offers. The malicious input is permanently stored by the application and remains associated with the subscriber record. Whenever an administrator or another privileged user accesses a page displaying the stored email address, the browser interprets the injected content as active code and executes it within the security context of the application. The vulnerability is caused by insufficient validation of user-controlled input before storage and the failure to encode stored data before rendering it in HTML. Because the malicious payload persists in the application's backend storage and executes whenever the affected record is viewed, the issue is classified as a Stored (Persistent) Cross-Site Scripting (XSS) vulnerability. Successful exploitation may allow an attacker to execute arbitrary JavaScript in the browser of authenticated users, potentially leading to session hijacking, theft of authentication cookies, execution of unauthorized actions on behalf of the victim, modification of application content, phishing attacks, or compromise of administrative accounts. Since the payload remains stored until it is removed, every privileged user who views the affected subscriber entry may be exposed to the attack.
Quelle⚠️ https://github.com/ahmadmarz10-hub/CVEsMarz/blob/main/Stored%20Cross-Site%20Scripting%20(XSS)%20in%20Online%20Shopping%20System%20PHP%20email%20Parameter.md
Benutzer
 AhmadMarzook (UID 96211)
Einreichung17.07.2026 20:56 (vor 1 Monat)
Moderieren30.08.2026 20:16 (1 month later)
StatusAkzeptiert
VulDB Eintrag397189 [code-projects Online Shopping System 1.0 Newsletter Subscription /offersmail.php email Cross Site Scripting]
Punkte20

Interested in the pricing of exploits?

See the underground prices here!