{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6893b395c7fa3b9e4de6235caea0ce198c376c4f"
            },
            {
              "fixed": "e9942c6d19ac1709b3df7357cfb8810774c8d3ac"
            }
          ],
          "repo": "https://github.com/mybb/mybb",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-m42q-vgx3-fqcc"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-352"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45126.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "1.8.40"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "MyBB is free and open source forum software. Prior to 1.8.40, the Admin CP Security Questions module does not validate the anti-CSRF token correctly, allowing same-site attackers to enable or disable registration challenge questions with a specially crafted URL. The controller processes GET requests for the disable and enable actions to modify mybb_questions.active without verifying the my_post_key token attached by the user interface. The uniquely identifying implementation details include admin/modules/config/questions.php. This issue is fixed in version 1.8.40.",
  "id": "CVE-2026-45126",
  "modified": "2026-09-10T03:30:45.223789901Z",
  "published": "2026-08-18T15:47:09.205Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/mybb/mybb/releases/tag/mybb_1840"
    },
    {
      "type": "WEB",
      "url": "https://mybb.com/versions/1.8.40"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45126.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mybb/mybb/security/advisories/GHSA-m42q-vgx3-fqcc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45126"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mybb/mybb/commit/6893b395c7fa3b9e4de6235caea0ce198c376c4f"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "MyBB: ACP Questions state CSRF"
}