CVE-2022-0877: Cross-site Scripting in BookStack
Cross-site Scripting (XSS) - Stored in GitHub repository bookstackapp/bookstack prior to v22.02.3.
Other sources
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.
— GitHub
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/ssddanbrown/bookstackto a version that resolves this vulnerability.Fixed in 22.02.3
Event History
Frequently Asked Questions
What is the severity of CVE-2022-0877?
The severity of CVE-2022-0877 is high.
What is CVE-2022-0877?
CVE-2022-0877 is a Cross-site Scripting (XSS) vulnerability that was stored in the GitHub repository bookstackapp/bookstack prior to v22.02.3.
Which software versions are affected by CVE-2022-0877?
Versions of Bookstack prior to v22.02.3 are affected by CVE-2022-0877.
How can I fix CVE-2022-0877?
To fix CVE-2022-0877, update Bookstack to version v22.02.3 or later.
What is the Common Weakness Enumeration (CWE) for CVE-2022-0877?
The Common Weakness Enumeration (CWE) for CVE-2022-0877 is CWE-79.