
Proof-of-concept for a stored XSS vulnerability in Simple Content Management System PHP, demonstrating session cookie theft via unsanitized News Title input.
A Stored Cross-Site Scripting (XSS) vulnerability exists in Simple Content Management System PHP. The News Title field in the admin panel does not sanitize user input before storing it in the database and reflecting it on the public index page. Any visitor who browses the main page will trigger the stored XSS payload, allowing an attacker to steal session cookies and hijack accounts.
/web/admin/welcome.php/web/index.php (public, unauthenticated)code-projects.org
Simple Content Management System PHP
1.0
http://[target]/web/admin/welcome.php?addnews

http://[target]/web/index.php

Any user visiting the public index page will have their session cookies exposed to the attacker. This allows full session hijacking and account takeover of any logged in user including administrators.
Imad Alvi