GHSA-5rcc-6cmj-7728
Cross-site Scripting in BookStack
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | ssddanbrown/bookstack | < 22.02.3 | 22.02.3 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.