[Japanese]

JVNDB-2022-000074

BookStack vulnerable to cross-site scripting

Overview

BookStack contains a cross-site scripting vulnerability (CWE-79).

Kenichi Okuno of Mitsui Bussan Secure Directions, Inc reported this vulnerability to IPA.
JPCERT/CC coordinated with the developer under Information Security Early Warning Partnership.
CVSS Severity (What is CVSS?)

CVSS V3 Severity:
Base Metrics 5.4 (Medium) [IPA Score]
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low
  • User Interaction: Required
  • Scope: Changed
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None
CVSS V2 Severity:
Base Metrics 3.5 (Low) [IPA Score]
  • Access Vector: Network
  • Access Complexity: Medium
  • Authentication: Single Instance
  • Confidentiality Impact: None
  • Integrity Impact: Partial
  • Availability Impact: None
Affected Products


BookStack project
  • BookStack versions prior to v22.09

Impact

An arbitrary script may be executed on the web browser of the user who is accessing the site using the API of the product.
Solution

[Update the Software]
Update the software to the latest version according to the information provided by the developer.

According to the developer, when using BookStack content via its API, it is necessary to check the following documentation and add the recommended protections as necessary.
https://www.bookstackapp.com/docs/admin/security/#using-bookstack-content-externally
Vendor Information

BookStack project
CWE (What is CWE?)

  1. Cross-site Scripting(CWE-79) [IPA Evaluation]
CVE (What is CVE?)

  1. CVE-2022-40690
References

  1. JVN : JVN#78862034
  2. National Vulnerability Database (NVD) : CVE-2022-40690
Revision History

  • [2022/09/30]
      Web page was published
  • [2024/06/12]
      References : Content was added