Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-26210
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:07 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-26210
Complete source record
{
"id": "49fd276c790557c9fc23e6e3f53643ca19acb93b46bfedbdc6eb3414e61b45e3",
"url": "https://osv.dev/vulnerability/CVE-2020-26210",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-26210",
"summary": "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.",
"evidence": "osv:CVE-2020-26210",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-26210",
"aliases": [
"CVE-2020-26210",
"GHSA-7p2j-4h6p-cq3h"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/bookstackapp/bookstack",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "06c81e69b9c9d96124239a5565509af6879c4471"
},
{
"fixed": "349162ea139556b2d25e09e155cec84e21cc9227"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:bookstackapp:bookstack:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.30.4"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "349162ea139556b2d25e09e155cec84e21cc9227"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "06c81e69b9c9d96124239a5565509af6879c4471"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.30.4"
}
]
}
}
],
"versions": [
"v0.30.3",
"v0.30.2",
"v0.30.1",
"v0.30.0",
"v0.29.3",
"v0.29.2",
"v0.29.1",
"v0.29.0",
"v0.28.3",
"v0.28.2",
"v0.28.1",
"v0.28.0",
"v0.27.5",
"v0.27.4",
"v0.27.3",
"v0.27.2",
"v0.27.1",
"v0.27",
"v0.26.4",
"v0.26.3",
"v0.26.2",
"v0.26.1",
"v0.26.0",
"v0.25.5",
"v0.25.4",
"v0.25.3",
"v0.25.2",
"v0.25.1",
"v0.25.0",
"v0.24.3",
"v0.24.2",
"v0.24.1",
"v0.24.0",
"v0.23.2",
"v0.23.1",
"v0.23.0",
"v0.22.0",
"v0.21.0",
"v0.20.3",
"v0.20.2",
"v0.20.1",
"v0.20.0",
"v0.19.0",
"v0.18.5",
"v0.18.4",
"v0.18.3",
"v0.18.2",
"v0.18.1",
"v0.18.0",
"v0.17.4",
"v0.17.3",
"v0.17.2",
"v0.17.1",
"v0.17.0",
"v0.16.3",
"v0.16.2",
"v0.16.1",
"v0.16.0",
"v0.15.3",
"v0.15.2",
"v0.15.1",
"v0.15.0",
"v0.14.3",
"v0.14.2",
"v0.14.1",
"v0.14.0",
"v0.13.1",
"v0.13.0",
"v0.12.2",
"v0.12.1",
"v0.12.0",
"v0.11.2",
"v0.11.1",
"v0.11.0",
"v0.10.0",
"v0.9.3",
"v0.9.2",
"v0.9.1",
"v0.9.0",
"v0.8.2",
"v0.8.1",
"v0.8.0",
"v0.7.6",
"v0.7.5",
"v0.7.4",
"v0.7.3",
"0.7.2",
"v.0.7.1",
"v0.7.0",
"v0.6.3",
"v0.6.2",
"v0.6.1",
"v0.6.0",
"v0.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-26210.json"
}
}
],
"modified": "2026-10-20T10:52:55.636679619Z",
"provider": "osv",
"references": [
"https://github.com/BookStackApp/BookStack/releases/tag/v0.30.4",
"https://bookstackapp.com/blog/beta-release-v0-30-4/",
"https://github.com/BookStackApp/BookStack/commit/349162ea139556b2d25e09e155cec84e21cc9227",
"https://github.com/BookStackApp/BookStack/security/advisories/GHSA-7p2j-4h6p-cq3h"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-26210",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384045,
"published_at": "2020-11-03T19:15:13.157+00:00"
}