{"id":"CVE-2022-0877","aliases":["CVE-2022-0877","GHSA-5rcc-6cmj-7728"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting (XSS) - Stored in bookstackapp/bookstack","summary":"Cross-site Scripting (XSS) - Stored in GitHub repository bookstackapp/bookstack prior to v22.02.3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Cross-site Scripting (XSS) - Stored in GitHub repository bookstackapp/bookstack prior to v22.02.3.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad de tipo Cross-site Scripting (XSS) - Almacenado en el repositorio GitHub bookstackapp/bookstack versiones anteriores a v22.02.3","source":"nvd"}],"published":"2022-03-08T12:40:09.000Z","modified":"2026-06-17T04:21:24.857Z","severity":{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:H","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:H","score":7.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"v22.02.3","status":"affected"}],"vendor":"bookstackapp","product":"bookstackapp/bookstack","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"22.02.3"}],"ecosystem":"Packagist","package":"ssddanbrown/bookstack","purl":"pkg:composer/ssddanbrown/bookstack","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"22.02.3"}],"vendor":"bookstackapp","product":"bookstack","cpe":"cpe:2.3:a:bookstackapp:bookstack:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.dev/bounties/b04df4e3-ae5a-4dc6-81ec-496248b15f3c","tags":["exploit","issue-tracking","patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/bookstackapp/bookstack/commit/856fca8289b7370cafa033ea21c408e7d4303fd6","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0877","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/bookstackapp/bookstack","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"@huntrdev","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-0877","url":"https://www.cve.org/CVERecord?id=CVE-2022-0877","licence":"CVE Terms of Use","modified":"2024-08-02T23:40:04.559Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5rcc-6cmj-7728","url":"https://github.com/advisories/GHSA-5rcc-6cmj-7728","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:41.697Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-0877","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0877","licence":"Public domain","modified":"2026-06-17T04:21:24.857Z"}],"updatedAt":"2026-11-25T22:58:09.937Z","epss":{"score":0.00782,"percentile":0.57183,"date":"2026-12-01T12:00:22.000Z"}}