{"id":"CVE-2021-3767","published":"2021-09-06T11:17:17Z","modified":"2024-08-03T17:09:08Z","title":"Cross-site Scripting (XSS) - Stored in bookstackapp/bookstack","vendor":"bookstackapp","product":"bookstackapp/bookstack","tier":"tail","description":{"text":"bookstack is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0067,"percentile":0.52787,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://huntr.dev/bounties/7ec92c85-30eb-4071-8891-6183446ca980","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bookstackapp/bookstack/commit/040997fdc4414776bcac06a3cbaac3b26b5e8a64","tags":["x_refsource_MISC"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":10.56},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"bookstackapp","affectedVersions":[{"vendor":"bookstackapp","product":"bookstackapp/bookstack","versions":[">= unspecified, < 21.08.2"]}],"euvd":{"id":"EUVD-2021-27036","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-bookstackapp-bookstack-cve-2021-3767","children":[{"from":"CVE-2021-3767","to":"CVE-2021-3768","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["app/Util/HtmlContentFilter.php"],"commits":["https://github.com/bookstackapp/bookstack/commit/040997fdc4414776bcac06a3cbaac3b26b5e8a64","https://github.com/bookstackapp/bookstack/commit/5e6092aaf8fd420202016038286554860bf8ea64"],"basis":"shared function","functions":["removeScripts"]},{"kind":"similar","provenance":"machine","score":1.0,"basis":"same product + CWE + description similarity"}]}]}}