{
  "id": "CVE-2026-42612",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-42612",
  "published_at": "2026-05-11T15:22:00.325Z",
  "title": "Grav: Publisher-Level Stored XSS via Unquoted Event Attributes",
  "vendor": "getgrav",
  "product": "grav",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Grav is a file-based Web platform. Prior to 2.0.0-beta.2, a stored Cross-Site Scripting (XSS) vulnerability in getgrav/grav allows publisher-level accounts to execute arbitrary JavaScript. The issue arises from a blacklist bypass in the detectXss() function when handling unquoted HTML event attributes. This vulnerability is fixed in 2.0.0-beta.2.",
  "cwe": "CWE-79",
  "cpes": [
    "cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:getgrav:grav:2.0.0:beta1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.5,
    "nvd": 5.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "getgrav",
        "product": "grav",
        "ranges": [
          "\u003c 2.0.0-beta.2"
        ],
        "fixed_in": [
          "2.0.0-beta.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade grav to 2.0.0-beta.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/getgrav/grav/security/advisories/GHSA-9695-8fr9-hw5q"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
