NetSight
medium7.6No CVE yet

GHSA-q8cg-5m48-5c25

Duplicate Advisory: Grav: Stored XSS via Markdown audio/video media <source> URL

Impact

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-6qw9-4vv5-jr97. This link is maintained to preserve external references. ### Original Description Grav before 2.0.15 contains a stored cross-site scripting vulnerability in the audio and video media rendering through the sourceParsedownElement method. The media URL fragment is concatenated unescaped into rawHtml source elements, allowing attackers to inject arbitrary HTML and JavaScript that executes in viewers' sessions.

An attacker can exploit this over the network, with a regular user account, but a user has to do something, such as open a file or a link. If it succeeds: high risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.

Affected packages

EcosystemPackageAffectedFixed in
composergetgrav/grav< 2.0.15none recorded

Weakness classification

References