{"items":[{"id":"NVI-00003398","kind":"vulnerability","title":"Grav vulnerable to Cross-Site Scripting (XSS) Stored endpoint `/admin/pages/[page]` parameter `data[header][template]` in Advanced Tab","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-7g78-5g5g-mvfj","CVE-2025-66310"],"plain_summary":"OSV carries this publisher advisory for getgrav/grav. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 1.8.0-beta.27 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-3d0e9a3adb852f4ea599275b63a1a112"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-050f496880105148280199b2234de82e"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-06-17T09:56:39.437Z","value":"5.4 MEDIUM (3.1)","meaning":"nvd@nist.gov severity; no combined Null risk score.","source_id":"sr-050f496880105148280199b2234de82e"},{"kind":"CVSS","as_of":"2026-06-17T09:56:39.437Z","value":"6.2 MEDIUM (4.0)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-050f496880105148280199b2234de82e"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-3d0e9a3adb852f4ea599275b63a1a112","url":"https://github.com/advisories/GHSA-7g78-5g5g-mvfj","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-7g78-5g5g-mvfj","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:59.949Z"},{"id":"sr-050f496880105148280199b2234de82e","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66310","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2025-66310","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T01:40:29.811Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-3d0e9a3adb852f4ea599275b63a1a112"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"## Summary\n\nA Stored Cross-Site Scripting (XSS) vulnerability was identified in the `/admin/pages/[page]` endpoint of the _Grav_ application. This vulnerability allows attackers to inject malicious scripts into the `data[header][template]` parameter. The script is saved within the page's frontmatter and executed automatically whenever the affected content is rendered in the administrative interface or frontend view.\n\n---\n\n## Details\n\n**Vulnerable Endpoint:** `POST /admin/pages/[page]`  \n**Parameter:** `data[header][template]`\n\nThe application fails to properly sanitize user input in the `data[header][template]` field, which is stored in the YAML frontmatter of the page. An attacker can inject JavaScript code using this field, and the payload is rendered and executed when the page is accessed, especially within the Admin Panel interface.\n\n---\n\n## PoC\n\n**Payload:**\n\n`alert('PoC-XXS73')`\n\n### Steps to Reproduce:\n\n1. Log in to the _Grav_ Admin Panel and navigate to **Pages**.\n    \n2. Create a new page or edit an existing one.\n    \n3. In the **Advanced > Template** field (which maps to `data[header][template]`), insert the payload:\n![image](https://github.com/user-attac","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.8.0-beta.27"]}],"null_published_at":"2026-11-01T14:34:07.503Z","source_updated_at":"2026-09-10T03:50:31.731Z","source_disclosed_at":"2025-12-02T01:24:56.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:41:59.949Z"},{"id":"NVI-00003398","kind":"vulnerability","title":"Grav vulnerable to Cross-Site Scripting (XSS) Stored endpoint `/admin/pages/[page]` parameter `data[header][template]` in Advanced Tab","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-7g78-5g5g-mvfj","CVE-2025-66310"],"plain_summary":"OSV carries this publisher advisory for getgrav/grav. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 1.8.0-beta.27 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-3d0e9a3adb852f4ea599275b63a1a112"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-3d0e9a3adb852f4ea599275b63a1a112","url":"https://github.com/advisories/GHSA-7g78-5g5g-mvfj","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-7g78-5g5g-mvfj","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:59.949Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-3d0e9a3adb852f4ea599275b63a1a112"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"## Summary\n\nA Stored Cross-Site Scripting (XSS) vulnerability was identified in the `/admin/pages/[page]` endpoint of the _Grav_ application. This vulnerability allows attackers to inject malicious scripts into the `data[header][template]` parameter. The script is saved within the page's frontmatter and executed automatically whenever the affected content is rendered in the administrative interface or frontend view.\n\n---\n\n## Details\n\n**Vulnerable Endpoint:** `POST /admin/pages/[page]`  \n**Parameter:** `data[header][template]`\n\nThe application fails to properly sanitize user input in the `data[header][template]` field, which is stored in the YAML frontmatter of the page. An attacker can inject JavaScript code using this field, and the payload is rendered and executed when the page is accessed, especially within the Admin Panel interface.\n\n---\n\n## PoC\n\n**Payload:**\n\n`alert('PoC-XXS73')`\n\n### Steps to Reproduce:\n\n1. Log in to the _Grav_ Admin Panel and navigate to **Pages**.\n    \n2. Create a new page or edit an existing one.\n    \n3. In the **Advanced > Template** field (which maps to `data[header][template]`), insert the payload:\n![image](https://github.com/user-attac","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.8.0-beta.27"]}],"null_published_at":"2026-10-31T22:12:48.015Z","source_updated_at":"2026-09-10T03:50:31.731Z","source_disclosed_at":"2025-12-02T01:24:56.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:41:59.949Z"}],"next_cursor":null,"snapshot_revision":"42594"}