All reports
Medium

Cross site scripting in reveal.js

Affected versions

Affected versions
< 4.3.0
Fixed version
4.3.0

Exploitation

CVE-2022-0776

Probability of exploitation in the next 30 days: 3.68%

FIRST EPSS · 2026-11-18

Description

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

Links