{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0.18.0"
              },
              {
                "fixed": "0.29.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "75915e8a9415af90c8c6402fd822d5c29960d3d3"
            },
            {
              "fixed": "04ecc128a237c22b5ff724f2328f0b6922ff3428"
            }
          ],
          "repo": "https://github.com/bookstackapp/bookstack",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2020-11055",
  "modified": "2026-04-01T23:10:16.280685487Z",
  "published": "2020-05-07T21:15:11.733Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/BookStackApp/BookStack/security/advisories/GHSA-5vf7-q87h-pg6w"
    },
    {
      "type": "ADVISORY",
      "url": "http://jvn.jp/en/jp/JVN41035278/index.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://bookstackapp.com/blog/beta-release-v0-29-2/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/BookStackApp/BookStack/releases/tag/v0.29.2"
    }
  ],
  "related": [
    "GHSA-5vf7-q87h-pg6w"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}