{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "9.11.0"
              },
              {
                "fixed": "9.11.8"
              },
              {
                "introduced": "10.2.0"
              },
              {
                "fixed": "10.2.3"
              },
              {
                "introduced": "10.3.0"
              },
              {
                "fixed": "10.3.3"
              },
              {
                "introduced": "10.4.0"
              },
              {
                "fixed": "10.4.2"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0bc2ddd42375a75ab14e63f038165150d4f07659"
            },
            {
              "fixed": "968fc9abd56d51d32880bca2f7cbcdff8c1af68c"
            },
            {
              "introduced": "9a578312304f06bb423d668fa8f1b975dc1fe79a"
            },
            {
              "fixed": "e246296facafd47a71e4b88c7f47647214f2712c"
            },
            {
              "introduced": "14facfa730253bbf4191d3346c2fd6f282c5b446"
            },
            {
              "fixed": "286f59a75888cafe4adf7759df6fb9df71321c2d"
            },
            {
              "introduced": "7c8c0b7464fa9cd2fbfb97c65d1475b4be2e765c"
            },
            {
              "fixed": "dabbe427c192a73527734aec5449a71acbe03535"
            }
          ],
          "repo": "https://github.com/mattermost/mattermost",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Mattermost",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/24xxx/CVE-2025-24490.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "10.4.0"
          },
          {
            "last_affected": "10.4.1"
          },
          {
            "introduced": "9.11.0"
          },
          {
            "last_affected": "9.11.7"
          },
          {
            "introduced": "10.3.0"
          },
          {
            "last_affected": "10.3.2"
          },
          {
            "introduced": "10.2.0"
          },
          {
            "last_affected": "10.2.2"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Mattermost versions 10.4.x \u003c= 10.4.1, 9.11.x \u003c= 9.11.7, 10.3.x \u003c= 10.3.2, 10.2.x \u003c= 10.2.2 fail to use prepared statements in the SQL query of boards reordering which allows an attacker to retrieve data from the database, via a SQL injection when reordering specially crafted boards categories.",
  "id": "CVE-2025-24490",
  "modified": "2026-08-12T03:51:47.322912485Z",
  "published": "2025-02-24T07:26:30.679Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://mattermost.com/security-updates"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/24xxx/CVE-2025-24490.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-24490"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "SQL Injection in Mattermost Boards via board category ID reordering"
}