SNewsCMS 2.x - 'search.php' Cross-Site Scripting

EDB-ID:

31406




Platform:

PHP

Date:

2008-03-17


source: https://www.securityfocus.com/bid/28262/info

SNewsCMS is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input before using it in dynamically generated content.

An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.

SNewsCMS 2.3 and 2.4 are vulnerable to this issue; other versions may also be affected.

http://www.example.com/search.php?query="><h1>XSS</h1>