{"items":[{"id":"NVI-00002681","kind":"vulnerability","title":"Duplicate Advisory: Grav: XSS Blueprint Validation Bypass via Twig String Concatenation","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"withdrawn","identifiers":["GHSA-373m-p57p-8665"],"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":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-228cb24758547185a2f7b5a62f6122ea"],"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":[],"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-228cb24758547185a2f7b5a62f6122ea","url":"https://github.com/advisories/GHSA-373m-p57p-8665","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-373m-p57p-8665","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.652Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-228cb24758547185a2f7b5a62f6122ea"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-2c4f-86xc-cr74. This link is maintained to preserve external references.\n\n### Original Description\nGrav v2.0.0 contains a cross-site scripting vulnerability (fixed in 2.0.1). The XSS blueprint validator (Security::detectXss()) runs on raw page content before Twig processing. When Twig content processing is enabled (twig_content.process_enabled: true), an attacker with page-write API permission can use Twig's string concatenation operator (~) to dynamically construct event handler names, dangerous tag names, or dangerous protocols at render time (e.g. {% set x = \"on\" ~ \"error\" %}). The validator sees only the harmless Twig expression and allows the content, but after Twig rendering the output (rendered via {{ page.content|raw }}) contains an active payload such as , executing arbitrary JavaScript in visitors' browsers.","public_affected_ranges":[]}],"null_published_at":"2026-10-31T22:00:33.899Z","source_updated_at":"2026-09-16T22:30:08.124Z","source_disclosed_at":"2026-07-15T12:32:04.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:49.652Z"}],"next_cursor":null,"snapshot_revision":"42594"}