Lucene search

K
wpexploitJames HookerWPEX-ID:46BF6C69-B612-4AEE-965D-91F53F642054
HistoryJul 07, 2015 - 12:00 a.m.

NewStatPress <= 1.0.4 - Reflected Cross-Site Scripting (XSS)

2015-07-0700:00:00
James Hooker
17

0.001 Low

EPSS

Percentile

37.8%

The NewStatPress plugin utilizes on lines 28 and 31 of the file ‘includes/nsp_search.php’ several variables from the $_GET scope, without sanitation. While WordPress automatically escapes quotes on this scope, the outputs on these lines are outside of quotes, and as such can be utilized to trigger a Reflected XSS attack.

The following URL will trigger an alert box in FireFox when visited, should the user be logged in as an Administrative user.

http://localhost/wp-admin/admin.php?groupby1=checked%3E%3Cimg+src%3Dx+onerror%3Dalert%281%29&page=nsp_search&newstatpress_action=search

0.001 Low

EPSS

Percentile

37.8%

Related for WPEX-ID:46BF6C69-B612-4AEE-965D-91F53F642054