fix template with remediation

patch-1
Dhiyaneshwaran 2023-08-17 14:42:24 +05:30 committed by GitHub
parent d61d1513d1
commit b60230b423
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions

View File

@ -6,9 +6,11 @@ info:
severity: medium
description: |
The Newsletter WordPress plugin before 7.4.5 does not sanitize and escape the $_SERVER['REQUEST_URI'] before echoing it back in admin pages. Although this uses addslashes, and most modern browsers automatically URLEncode requests, this is still vulnerable to Reflected XSS in older browsers such as Internet Explorer 9 or below.
remediation: Fixed in version 7.4.5
reference:
- https://wpscan.com/vulnerability/6ad407fe-db2b-41fb-834b-dd8c4f62b072
- https://nvd.nist.gov/vuln/detail/CVE-2022-1756
- https://wordpress.org/plugins/newsletter/
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
@ -16,7 +18,10 @@ info:
cwe-id: CWE-79
metadata:
verified: true
tags: cve,cve2022,xss,reflected
publicwww-query: "/wp-content/plugins/newsletter/"
max-request: 2
tags: cve,cve2022,newsletter,xss,authenticated
http:
- raw:
- |
@ -34,6 +39,5 @@ http:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "newsletter")'
- 'contains(body, "document.domain")'
- 'contains(body, "newsletter") && contains(body, "><svg/onload=alert(/document.domain/)>")'
condition: and