{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:bookstackapp:bookstack:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "21.10.3"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "01cdbdb7aefe0971474a0301d7e62aacb9253860"
            },
            {
              "fixed": "43830a372fc51a8793199d04a34c3f4ebdfccc7b"
            }
          ],
          "repo": "https://github.com/bookstackapp/bookstack",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "bookstack is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
  "id": "CVE-2021-3916",
  "modified": "2026-07-08T05:36:54.598354192Z",
  "published": "2021-11-05T15:15:07.890Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/bookstackapp/bookstack/commit/43830a372fc51a8793199d04a34c3f4ebdfccc7b"
    },
    {
      "type": "FIX",
      "url": "https://huntr.dev/bounties/0be32e6b-7c48-43f0-9cec-433000ad8f64"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}