Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-12062

An XSS issue was discovered in manage_user_page.php in MantisBT 2.x before 2.5.2. The 'filter' field is not sanitized before being rendered in the Manage User page, allowing remote attackers to execute arbitrary JavaScript code if CSP is disabled.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-12062
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:55 UTC · Revision 1

Source evidence

CVE-2017-12062

core-osv · Original source

Published 1 Aug 2017, 15:29 UTC

An XSS issue was discovered in manage_user_page.php in MantisBT 2.x before 2.5.2. The 'filter' field is not sanitized before being rendered in the Manage User page, allowing remote attackers to execute arbitrary JavaScript code if CSP is disabled.

osv:CVE-2017-12062
Complete source record
{
  "id": "547dfcf81c53617ea0d7b0cac13bbdebe8d4f388918416d375324424363bce4e",
  "url": "https://osv.dev/vulnerability/CVE-2017-12062",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-12062",
    "summary": "An XSS issue was discovered in manage_user_page.php in MantisBT 2.x before 2.5.2. The 'filter' field is not sanitized before being rendered in the Manage User page, allowing remote attackers to execute arbitrary JavaScript code if CSP is disabled.",
    "evidence": "osv:CVE-2017-12062",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2017-12062",
      "aliases": [
        "CVE-2017-12062",
        "GHSA-w93w-rx52-24qh"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mantisbt/mantisbt",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9f117fd951fbde716077b1453e0ecba9dbdc588a"
                },
                {
                  "last_affected": "063cce6182568cf2eba81e3ca59cdd67606e7bab"
                },
                {
                  "fixed": "9b5b71dadbeeeec27efea59f562ac5bd6d2673b7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mantisbt:mantisbt:2.1.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.0"
                      },
                      {
                        "last_affected": "2.1.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mantisbt:mantisbt:2.1.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.1"
                      },
                      {
                        "last_affected": "2.1.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mantisbt:mantisbt:2.1.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.2"
                      },
                      {
                        "last_affected": "2.1.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mantisbt:mantisbt:2.1.3:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.3"
                      },
                      {
                        "last_affected": "2.1.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mantisbt:mantisbt:2.2.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.0"
                      },
                      {
                        "last_affected": "2.2.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mantisbt:mantisbt:2.2.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.1"
                      },
                      {
                        "last_affected": "2.2.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mantisbt:mantisbt:2.2.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.2"
                      },
                      {
                        "last_affected": "2.2.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mantisbt:mantisbt:2.2.3:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.3"
                      },
                      {
                        "last_affected": "2.2.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mantisbt:mantisbt:2.2.4:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.4"
                      },
                      {
                        "last_affected": "2.2.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mantisbt:mantisbt:2.3.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.0"
                      },
                      {
                        "last_affected": "2.3.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mantisbt:mantisbt:2.3.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.1"
                      },
                      {
                        "last_affected": "2.3.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mantisbt:mantisbt:2.3.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.2"
                      },
                      {
                        "last_affected": "2.3.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mantisbt:mantisbt:2.3.3:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.3"
                      },
                      {
                        "last_affected": "2.3.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mantisbt:mantisbt:2.4.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.0"
                      },
                      {
                        "last_affected": "2.4.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mantisbt:mantisbt:2.4.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.1"
                      },
                      {
                        "last_affected": "2.4.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mantisbt:mantisbt:2.4.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.2"
                      },
                      {
                        "last_affected": "2.4.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mantisbt:mantisbt:2.5.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.5.0"
                      },
                      {
                        "last_affected": "2.5.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mantisbt:mantisbt:2.5.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.5.1"
                      },
                      {
                        "last_affected": "2.5.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9b5b71dadbeeeec27efea59f562ac5bd6d2673b7"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.1.0",
            "2.1.1",
            "2.1.2",
            "2.1.3",
            "2.2.0",
            "2.2.1",
            "2.2.2",
            "2.2.3",
            "2.2.4",
            "2.3.0",
            "2.3.1",
            "2.3.2",
            "2.3.3",
            "2.4.0",
            "2.4.1",
            "2.4.2",
            "2.5.0",
            "2.5.1",
            "release-2.5.1",
            "release-2.5.0",
            "release-2.4.0",
            "release-2.3.0",
            "release-2.2.0",
            "release-2.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12062.json"
          }
        }
      ],
      "modified": "2026-10-20T10:48:48.484291719Z",
      "provider": "osv",
      "references": [
        "https://mantisbt.org/bugs/view.php?id=23166",
        "https://github.com/mantisbt/mantisbt/commit/9b5b71dadbeeeec27efea59f562ac5bd6d2673b7"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-12062",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380357,
  "published_at": "2017-08-01T15:29:00.593+00:00"
}