ADVISORIES

GitHub Advisory Database

GHSA-5rcc-6cmj-7728

Cross-site Scripting in BookStack

Moderate CVE-2022-0877

Details

Iframe tags don't have a sandbox attribute, this makes an attacker able to execute malicious javascript via an iframe and perform phishing attacks. The sandbox attribute will block script execution and prevents the content to navigate its top-level browsing context which will stop this type of attack.

Affected packages

EcosystemPackageAffected versions
Packagistssddanbrown/bookstack
All versions before 22.02.3 (fixed in 22.02.3)

References