{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-26210","id":"CVE-2020-26210","title":"Cross-Site Scripting in BookStack","description":"In BookStack before version 0.30.4, a user with permissions to edit a page could add an attached link which would execute untrusted JavaScript code when clicked by a viewer of the page. Dangerous content may remain in the database after this update. If you think this could have been exploited the linked advisory provides a SQL query to test. As a workaround, page edit permissions could be limited ","descriptionLong":"In BookStack before version 0.30.4, a user with permissions to edit a page could add an attached link which would execute untrusted JavaScript code when clicked by a viewer of the page. Dangerous content may remain in the database after this update. If you think this could have been exploited the linked advisory provides a SQL query to test. As a workaround, page edit permissions could be limited to only those that are trusted until you can upgrade although this will not address existing exploitation of this vulnerability. The issue is fixed in version 0.30.4.","published":"2020-11-03T18:20:15.000Z","updated":"2026-10-20T10:52:55.636679619Z","reserved":"2020-10-01T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"high","products":["BookStackApp BookStack"],"affectedProducts":[{"vendor":"BookStackApp","product":"BookStack","defaultStatus":null,"versions":[{"status":"affected","version":"< 0.30.4"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":["GHSA-7p2j-4h6p-cq3h"],"references":[{"url":"https://github.com/BookStackApp/BookStack/security/advisories/GHSA-7p2j-4h6p-cq3h","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://github.com/BookStackApp/BookStack/commit/349162ea139556b2d25e09e155cec84e21cc9227","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://bookstackapp.com/blog/beta-release-v0-30-4/","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Vendor Advisory","fix"]},{"url":"https://github.com/BookStackApp/BookStack/releases/tag/v0.30.4","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01169,"epssPercentile":0.68061,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-26210","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26210","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-26210","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-26210","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}