{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:mantisbt:mantisbt:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.24.2"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7799118023ab2a8f0cdac16bf9c0b88d1c4b6388"
            }
          ],
          "repo": "https://github.com/mantisbt/mantisbt",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "An XSS issue was discovered in MantisBT before 2.24.2. Improper escaping on view_all_bug_page.php allows a remote attacker to inject arbitrary HTML into the page by saving it into a text Custom Field, leading to possible code execution in the browser of any user subsequently viewing the issue (if CSP settings allow it).",
  "id": "CVE-2020-16266",
  "modified": "2026-07-08T05:38:04.764691552Z",
  "published": "2020-08-12T13:15:10.613Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://mantisbt.org/blog/archives/mantisbt/665"
    },
    {
      "type": "FIX",
      "url": "https://mantisbt.org/bugs/view.php?id=27056"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}