CVE-2022-0877: Cross-site Scripting in BookStack

Published Mar 8, 2022
·
Updated

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

3 affected componentsFixes available
bookstackapp bookstack<22.02.3
composer/ssddanbrown/bookstack<22.02.3
22.02.3
composer/ssddanbrown/bookstack<22.02.3
22.02.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/ssddanbrown/bookstack to a version that resolves this vulnerability.

    Fixed in 22.02.3

Event History

Mar 8, 2022
CVE Published
via MITRE·12:40 PM
Data Sourced
via MITRE·12:40 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 9, 2022
Advisory Published
via GitHub·12:00 AM
Data Sourced
via GitHub·12:00 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-0877?

The severity of CVE-2022-0877 is high.

2

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.

3

Which software versions are affected by CVE-2022-0877?

Versions of Bookstack prior to v22.02.3 are affected by CVE-2022-0877.

4

How can I fix CVE-2022-0877?

To fix CVE-2022-0877, update Bookstack to version v22.02.3 or later.

5

What is the Common Weakness Enumeration (CWE) for CVE-2022-0877?

The Common Weakness Enumeration (CWE) for CVE-2022-0877 is CWE-79.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203