{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.36.2"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "f65f9d6971578b301ef9fc915a729e6a13266a5e"
            }
          ],
          "repo": "https://github.com/wikimedia/mediawiki",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "An issue was discovered in SecurePoll in the Growth extension in MediaWiki through 1.36.2. Simple polls allow users to create alerts by changing their User-Agent HTTP header and submitting a vote.",
  "id": "CVE-2021-42045",
  "modified": "2026-07-08T05:36:52.817524168Z",
  "published": "2022-09-29T03:15:14.533Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://phabricator.wikimedia.org/T289385"
    },
    {
      "type": "FIX",
      "url": "https://gerrit.wikimedia.org/r/q/I4f04083cd00884d3b85245460774c81c7639a578"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}