Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-42048

An issue was discovered in the Growth extension in MediaWiki through 1.36.2. Any admin can add arbitrary JavaScript code to the Newcomer home page footer, which can be executed by viewers with zero edits.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-42048
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:47 UTC · Revision 1

Source evidence

CVE-2021-42048

core-osv · Original source

Published 29 Sept 2022, 03:15 UTC

An issue was discovered in the Growth extension in MediaWiki through 1.36.2. Any admin can add arbitrary JavaScript code to the Newcomer home page footer, which can be executed by viewers with zero edits.

osv:CVE-2021-42048
Complete source record
{
  "id": "b6ff45190c962ca84ca91098db2fd9c51b2cd3b1713d57b74b7cde91910c3a4b",
  "url": "https://osv.dev/vulnerability/CVE-2021-42048",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-42048",
    "summary": "An issue was discovered in the Growth extension in MediaWiki through 1.36.2. Any admin can add arbitrary JavaScript code to the Newcomer home page footer, which can be executed by viewers with zero edits.",
    "evidence": "osv:CVE-2021-42048",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-42048",
      "aliases": [
        "BIT-mediawiki-2021-42048",
        "CVE-2021-42048"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wikimedia/mediawiki",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "f65f9d6971578b301ef9fc915a729e6a13266a5e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.36.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.36.2",
            "1.36.1",
            "1.36.0",
            "1.36.0-rc.0",
            "test-hashar-for-ci",
            "1.6.0",
            "1.5.0beta4",
            "1.5.0beta3",
            "1.5.0beta2",
            "1.5.0beta1",
            "1.5.0alpha2",
            "1.5.0alpha1",
            "1.3.0beta1",
            "1.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-42048.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:21.963332638Z",
      "provider": "osv",
      "references": [
        "https://gerrit.wikimedia.org/r/q/Iaa90a8976834d70caad592e9d1b18510318db537",
        "https://phabricator.wikimedia.org/T289064"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-42048",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430594,
  "published_at": "2022-09-29T03:15:14.707+00:00"
}