SecurityContext

CVE-2022-0877: BookStack - Stored XSS

  • Cve: CVE-2022-0877
  • Name: BookStack - Stored XSS
  • Description: Cross-site Scripting (XSS) - Stored in GitHub repository bookstackapp/bookstack prior to v22.02.3.
  • Impact: Attackers can execute arbitrary scripts in victim browsers, leading to session hijacking, defacement, or redirection.
  • Remediation: Update to version 22.02.3 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs to store malicious scripts in the application
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00782
  • Epss percentile: 0.56934
  • Assignee: [email protected]
  • Published at: 2022-03-08T13:15:08Z
  • Age in days: 1722
  • Modified at: 2026-06-17T04:21:24Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-0877
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://huntr.dev/bounties/b04df4e3-ae5a-4dc6-81ec-496248b15f3cnvd2022-03-08

References

UrlSourceTags
https://github.com/bookstackapp/bookstack/commit/856fca8289b7370cafa033ea21c408e7d4303fd6nvdPatch, Third Party Advisory
https://huntr.dev/bounties/b04df4e3-ae5a-4dc6-81ec-496248b15f3cnvdExploit, Issue Tracking, Patch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
bookstackapp:bookstack< 22.02.3nonvd/v1/products/bookstackapp/bookstack

Projects

RepositoryLink kindsIndexedUrl
BookStackApp/BookStackcommit, fix, packageyes/v1/repositories/BookStackApp/BookStack

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-03-08
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 847
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports