Advisory

GHSA-hhqj-cfjx-vj25

Also known as: CVE-2022-0776

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-03-02 00:00 UTC
Modified
2023-11-08 04:07 UTC

Affected packages and fixes

reveal.js

npm · All systems

Affected

  • introduced 0, fixed 4.3.0 (semver)

Fixed versions

4.3.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences