CVE-2022-0877
Cross-site Scripting (XSS) - Stored in bookstackapp/bookstack
Cross-site Scripting (XSS) - Stored in GitHub repository bookstackapp/bookstack prior to v22.02.3.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- Low
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.6
Cross-site Scripting (XSS) - Stored in bookstackapp/bookstack
Cross-site Scripting (XSS) - Stored in GitHub repository bookstackapp/bookstack prior to v22.02.3.
- Record
CVE-2022-0877- CVSS 3.0
- 7.6 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:H - Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2022-1328
7.6
Cross-site Scripting (XSS) - Stored in GitHub repository bookstackapp/bookstack prior to v22.02.3.
- Record
EUVD-2022-1328- CVSS 3.0
- 7.6 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5rcc-6cmj-7728
5.4
Cross-site Scripting in BookStack
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.
- Record
GHSA-5rcc-6cmj-7728- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
NVD
5.4
Cross-site Scripting (XSS) - Stored in GitHub repository bookstackapp/bookstack prior to v22.02.3.
- Record
CVE-2022-0877- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - CVSS 3.0
- 7.6 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:H - CVSS 2.0
- 3.5 Low
AV:N/AC:M/Au:S/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
7.6
Cross-site Scripting (XSS) - Stored in bookstackapp/bookstack
Cross-site Scripting (XSS) - Stored in GitHub repository bookstackapp/bookstack prior to v22.02.3.
- Record
CVE-2022-0877- CVSS 3.0
- 7.6 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:H - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVGHSA-5rcc-6cmj-7728
5.4
Cross-site Scripting in BookStack
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.
- Record
GHSA-5rcc-6cmj-7728- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ssddanbrown/bookstackPackagist |
before 22.02.3 | 22.02.3 |
ssddanbrown/bookstackPackagist |
before 22.02.3, plus listed versions 0.7.2V0.7.5v0.10.0v0.11.0v0.11.1 Show 45 moreShow lessv0.11.2v0.12.0v0.12.1v0.12.2v0.13.0v0.13.1v0.14.0v0.14.1v0.14.2v0.14.3v0.15.0v0.15.1v0.15.2v0.15.3v0.16.0v0.16.1v0.16.2v0.16.3v0.17.0v0.17.1v0.17.2v0.17.3v0.17.4v0.18.0v0.18.1v0.18.2v0.18.3v0.18.4v0.18.5v0.19.0v0.20.0v0.20.1v0.20.2v0.20.3v0.21.0v0.22.0v0.23.0v0.23.1v0.23.2v0.24.0v0.24.1v0.24.2v0.24.3v0.25.0v0.25.1 |
22.02.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-0877 is a high vulnerability (CVSS 7.6) in Bookstackapp Bookstack, published March 8, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.78%, the 56th percentile. Fixed in ssddanbrown/bookstack 22.02.3.
References
huntr.dev/bounties/b04df4e3-ae5a-4dc6-81ec-496248b15f3c
github.com/bookstackapp/bookstack/commit/856fca8289b7370cafa033ea21c408e7d4303fd6
nvd.nist.gov/vuln/detail/CVE-2022-0877
github.com/advisories/GHSA-5rcc-6cmj-7728
github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0877.json
github.com/bookstackapp/bookstack
Left out here: 92 versions. The JSON record has them.