CVE-2025-13773: WordPress Print Invoice & Delivery Notes for WooCommerce <= 5.8.0 - Remote Code Execution

Description

Print Invoice & Delivery Notes for WooCommerce plugin for WordPress <= 5.8.0 contains a remote code execution caused by missing capability check, PHP enabled in Dompdf, and missing escape in template.php, letting unauthenticated attackers execute code on the server.

PoC

id: CVE-2025-13773

info:
  name: WordPress Print Invoice & Delivery Notes for WooCommerce <= 5.8.0 - Remote Code Execution
  author: PikaJuna-ops
  severity: critical
  description: |
    Print Invoice & Delivery Notes for WooCommerce plugin for WordPress <= 5.8.0 contains a remote code execution caused by missing capability check, PHP enabled in Dompdf, and missing escape in template.php, letting unauthenticated attackers execute code on the server.
  impact: |
    Unauthenticated attackers can execute arbitrary code on the server, potentially leading to full system compromise.
  remediation: |
    Update to the latest version beyond 5.8.0.
  reference:
    - https://www.wordfence.com/threat-intel/vulnerabilities/id/e52b34fe-2414-4d6f-bf43-9c5b65ebf769
    - https://plugins.trac.wordpress.org/changeset/3426119/woocommerce-delivery-notes
    - https://nvd.nist.gov/vuln/detail/CVE-2025-13773
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2025-13773
    epss-score: 0.03766
    epss-percentile: 0.89361
    cwe-id: CWE-94
  metadata:
    verified: true
    max-request: 2
    fofa-query: body="wp-content/plugins/woocommerce-delivery-notes/"
    product: woocommerce-delivery-notes
    vendor: tychesoftwares
  tags: cve,cve2025,wordpress,wp-plugin,woocommerce-delivery-notes,rce,passive,vkev

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/woocommerce-delivery-notes/readme.txt'

    matchers:
      - type: dsl
        dsl:
          - "status_code == 200"
          - "compare_versions(version, '<= 5.8.0')"
          - "contains(body, 'Print Invoice & Delivery Notes')"
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        name: version
        regex:
          - 'Stable tag: ([0-9.]+)'
        internal: true
# digest: 4a0a0047304502204a3855f8cebac6e4d4adc5e1f55d0552f4d492ce5512a4470a7f9bc51953b7bb0221008561fb6ef8ae85e84b6d448ea55e503454e001ea56043c218c06df69e7867dc6:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

Related Vulnerabilities