GitHub Advisory Database
GHSA-5rcc-6cmj-7728
Cross-site Scripting in BookStack
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | ssddanbrown/bookstack | All versions before 22.02.3 (fixed in 22.02.3) |