CVE-2020-26211: Bookstack Cross-site Scripting vulnerability

Published Nov 3, 2020
·
Updated

Bookstack Cross-site Scripting vulnerability

Other sources

In BookStack before version 0.30.4, a user with permissions to edit a page could insert JavaScript code through the use of javascript: URIs within a link or form which would run, within the context of the current page, when clicked or submitted. Additionally, a user with permissions to edit a page could insert a particular meta tag which could be used to silently redirect users to a alternative location upon visit of a page. Dangerous content may remain in the database but will be removed before being displayed on a page. If you think this could have been exploited the linked advisory provides a SQL query to test. As a workaround without upgrading, page edit permissions could be limited to only those that are trusted until you can upgrade although this will not address existing exploitation of this vulnerability. The issue is fixed in BookStack version 0.30.4.

Affected Software

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

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 0.30.4
  2. Upgrade

    Upgrade BookStack to a version that resolves this vulnerability.

    Fixed in 0.30.4
  3. Compensating control

    Limit page edit permissions to trusted users until BookStack is upgraded; this does not address existing exploitation.

Event History

Nov 3, 2020
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 24, 2022
Advisory Published
05:32 PM
Data Sourced
via GitHub·05:32 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·05:32 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2020-26211?

CVE-2020-26211 is a vulnerability in BookStack before version 0.30.4 that allows a user with permissions to edit a page to insert JavaScript code through the use of `javascript:` URIs within a link or form.

2

How does CVE-2020-26211 work?

CVE-2020-26211 allows an attacker with permissions to edit a page in BookStack to insert JavaScript code using `javascript:` URIs in links or forms, which will then run within the context of the current page when clicked or submitted.

3

What is the severity of CVE-2020-26211?

CVE-2020-26211 has a severity rating of 8.7 (high).

4

What is the affected software of CVE-2020-26211?

The affected software of CVE-2020-26211 is BookStack before version 0.30.4.

5

How do I fix CVE-2020-26211?

To fix CVE-2020-26211, users should update to version 0.30.4 or newer of BookStack.

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