{"id":"CVE-2020-11055","published":"2020-05-07T20:40:14Z","modified":"2024-08-04T11:21:14Z","title":"Cross-site Scripting in BookStack","vendor":"BookStackApp","product":"BookStack","tier":"core","eol":null,"affectedVersions":[{"vendor":"BookStackApp","product":"BookStack","versions":[">= 0.18.0, < 0.29.2"]}],"description":{"text":"In BookStack greater than or equal to 0.18.0 and less than 0.29.2, there is an XSS vulnerability in comment creation. A user with permission to create comments could POST HTML directly to the system to be saved in a comment, which would then be executed/displayed to others users viewing the comment. Through this vulnerability custom JavaScript code could be injected and therefore ran on other user machines. This most impacts scenarios where not-trusted users are given permission to create comments. This has been fixed in 0.29.2.","provenance":"source","from":"CVE.org"},"summary":null,"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00782,"percentile":0.55863,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/BookStackApp/BookStack/security/advisories/GHSA-5vf7-q87h-pg6w","tags":["x_refsource_CONFIRM"]},{"url":"https://bookstackapp.com/blog/beta-release-v0-29-2/","tags":["x_refsource_MISC"]},{"url":"https://github.com/BookStackApp/BookStack/releases/tag/v0.29.2","tags":["x_refsource_MISC"]},{"url":"http://jvn.jp/en/jp/JVN41035278/index.html","tags":["third-party-advisory","x_refsource_JVN"]}],"techniques":[{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve"],"basisDetail":"CTID attack_to_cve (Phase 2)","mappingType":"primary_impact","evidence":[],"confidence":"high"},{"id":"T1185","name":"Browser Session Hijacking","tactics":["collection"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve"],"basisDetail":"CTID attack_to_cve (Phase 2)","mappingType":"secondary_impact","evidence":[],"confidence":"high"}],"reports":[],"affected":[{"ecosystem":"Packagist","package":"ssddanbrown/bookstack","vulnerableRanges":[">=0.18.0, <0.29.2"],"patched":["0.29.2"],"from":["GHSA-5vf7-q87h-pg6w"],"provenance":"source"}],"advisories":[{"id":"GHSA-5vf7-q87h-pg6w","url":"https://github.com/advisories/GHSA-5vf7-q87h-pg6w","severity":"MODERATE","ecosystem":"Packagist","package":"ssddanbrown/bookstack","vulnerableRanges":[">=0.18.0, <0.29.2"],"patched":["0.29.2"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2020-0413","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-0413","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[{"stage":"primary","techniques":["T1059"],"provenance":"source"},{"stage":"secondary","techniques":["T1185"],"provenance":"source"}],"timeline":[{"date":"2020-05-07","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2020-11055","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":15.6,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":11.17,"detail":"percentile 0.5586"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":4.41,"detail":"base score 6.3"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}