GHSA-hhqj-cfjx-vj25
Dashboard / Vulnerabilities / GHSA-hhqj-cfjx-vj25
Summary: Cross site scripting in reveal.js
Details: The onmessage event listener in /plugin/notes/speaker-view.html does not check the origin of postMessage before adding the content to the webpage. The vulnerable code allows any origin to postMessage on the browser window and feeds attacker's input to parts using which attacker can execute arbitrary javascript code on victim's browser window hosting reveal.js
References: https://nvd.nist.gov/vuln/detail/CVE-2022-0776, https://github.com/hakimel/reveal.js/commit/32cdd3b1872ba8e2267c9e87ae216cb55f40f4d2, https://github.com/hakimel/reveal.js, https://huntr.dev/bounties/be2b7ee4-f487-42e1-874a-6bcc410e4001
Affected packages
Package
Name: reveal.js
Purl: pkg:npm/reveal.js
Affected ranges
Type: SEMVER
Events:
