{"id":"CVE-2020-11055","state":"PUBLISHED","title":"Cross-site Scripting in BookStack","description":"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.","publishedAt":"2020-05-07T20:40:14.000Z","updatedAt":"2024-08-04T11:21:14.640Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["BookStackApp BookStack"],"affected":[{"vendor":"BookStackApp","product":"BookStack","versions":[{"version":">= 0.18.0, < 0.29.2","status":"affected"}]}],"references":["https://github.com/BookStackApp/BookStack/security/advisories/GHSA-5vf7-q87h-pg6w","https://bookstackapp.com/blog/beta-release-v0-29-2/","https://github.com/BookStackApp/BookStack/releases/tag/v0.29.2","http://jvn.jp/en/jp/JVN41035278/index.html"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:46:24.834Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/11xxx/CVE-2020-11055.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-11055","state":"PUBLISHED","datePublished":"2020-05-07T20:40:14.000Z","dateUpdated":"2024-08-04T11:21:14.640Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2020-03-30T00:00:00.000Z"},"containers":{"cna":{"title":"Cross-site Scripting in BookStack","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"BookStackApp","product":"BookStack","versions":[{"version":">= 0.18.0, < 0.29.2","status":"affected"}]}],"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","name":"JVN#41035278","tags":["third-party-advisory","x_refsource_JVN"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2020-05-13T06:06:14.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-5vf7-q87h-pg6w","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-11055","STATE":"PUBLIC","TITLE":"Cross-site Scripting in BookStack"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"BookStack","version":{"version_data":[{"version_value":">= 0.18.0, < 0.29.2"}]}}]},"vendor_name":"BookStackApp"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}]},"references":{"reference_data":[{"name":"https://github.com/BookStackApp/BookStack/security/advisories/GHSA-5vf7-q87h-pg6w","refsource":"CONFIRM","url":"https://github.com/BookStackApp/BookStack/security/advisories/GHSA-5vf7-q87h-pg6w"},{"name":"https://bookstackapp.com/blog/beta-release-v0-29-2/","refsource":"MISC","url":"https://bookstackapp.com/blog/beta-release-v0-29-2/"},{"name":"https://github.com/BookStackApp/BookStack/releases/tag/v0.29.2","refsource":"MISC","url":"https://github.com/BookStackApp/BookStack/releases/tag/v0.29.2"},{"name":"JVN#41035278","refsource":"JVN","url":"http://jvn.jp/en/jp/JVN41035278/index.html"}]},"source":{"advisory":"GHSA-5vf7-q87h-pg6w","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/BookStackApp/BookStack/security/advisories/GHSA-5vf7-q87h-pg6w","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bookstackapp.com/blog/beta-release-v0-29-2/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/BookStackApp/BookStack/releases/tag/v0.29.2","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://jvn.jp/en/jp/JVN41035278/index.html","name":"JVN#41035278","tags":["third-party-advisory","x_refsource_JVN","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T11:21:14.640Z"}}]}}}