Cross-site Scripting (XSS)Weakness · CWE-79

CVE-2025-62671

MEDIUM · 6.9 CVSS v4.0 Published 2025-10-18
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
78/100
Remediation priority · High
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in The Wikimedia Foundation Mediawiki - Cargo Extension allows Stored XSS.This issue affects Mediawiki - Cargo Extension: master.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

A stored (persistent) cross-site scripting (XSS) vulnerability exists in the MediaWiki Cargo extension due to improper neutralization of user input during web page generation. Attackers can inject malicious JavaScript payloads through user-supplied data that gets stored in the database and rendered without adequate sanitization, allowing execution in the browsers of other users who view the affected content.

MitigationImplement proper input validation and output encoding/sanitization for all user-supplied data rendered by the Cargo extension. Apply context-aware escaping based on where the data is displayed (HTML attributes, JavaScript, CSS, or HTML body).

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
Authentication
X
User interaction
None
Scope
X

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Confirm MediaWiki installation
    Locate MediaWiki by checking for LocalSettings.php in the wiki root directory, or check the version via the wiki's Special:Version page.
    Affected if MediaWiki is not installed or not accessible for version checking.
  2. Verify Cargo extension is installed
    Check the extensions/Cargo directory exists in the MediaWiki installation, or query Special:Version on the wiki to list installed extensions.
    Affected if The Cargo extension is not installed.
  3. Check Cargo extension version
    Examine the Cargo extension's composer.json or extension.json file in extensions/Cargo/ to find the installed version number.
    Affected if The installed version is within the vulnerable range and has not been patched.
  4. Identify Cargo-driven pages
    Review wiki pages that use Cargo templates, Cargo tables, or Cargo-driven semantic queries (look for #cargo_store, #cargo_query, or similar parser functions).
    Affected if The wiki contains Cargo-powered pages that display user-supplied data.
  5. Inspect data display mechanisms
    Examine how Cargo displays data: check Cargo table schemas for fields that accept user input and their display formats on wiki pages.
    Affected if User-supplied data is rendered through Cargo's display system without additional sanitization layers.

A user is affected if MediaWiki with the Cargo extension is running, the Cargo version is unpatched, and user-supplied data is being stored and displayed through Cargo's rendering system without proper output encoding.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Implement proper input validation and output encoding/sanitization for all user-supplied data rendered by the Cargo extension. Apply context-aware escaping based on where the data is displayed (HTML attributes, JavaScript, CSS, or HTML body).

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing3.0 h
  • Review / QA2.0 h
14.0 hours of engineering $2,490
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-62671 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-62671 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data