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

CVE-2025-7362

MEDIUM · 5.4 CVSS v3.1 Published 2025-07-08
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
58/100
Remediation priority · Elevated
Remotely reachable

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
The MsUpload extension for MediaWiki is vulnerable to stored XSS via the msu-continue system message, which is inserted into the DOM without proper sanitization. The vulnerability occurs in the file upload UI when the same filename is uploaded twice. This issue affects Mediawiki - MsUpload extension: from 1.39.X before 1.39.13, from 1.42.X before 1.42.7, from 1.43.X before 1.43.2.

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 · high confidence

Stored XSS vulnerability in MediaWiki's MsUpload extension where the msu-continue system message (displayed when uploading a duplicate filename) is inserted into the DOM without proper sanitization, allowing injection of malicious JavaScript that executes in other users' browsers.

MitigationUpgrade MsUpload extension to version 1.39.13, 1.42.7, or 1.43.2 or later which includes proper sanitization of the msu-continue system message before DOM insertion.

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
Low
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

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. Verify MsUpload extension is installed
    Check the MediaWiki extensions directory or review LocalSettings.php for the line 'wfLoadExtension( 'MsUpload' )' or similar registration
    Affected if MsUpload extension is loaded in MediaWiki but version is unknown or below 1.39.13, 1.42.7, or 1.43.2
  2. Determine installed MsUpload version
    Check the extension's version file, composer.json, or the extension's info panel in MediaWiki's Special:Version page under 'Installed extensions'
    Affected if Version is below 1.39.13, below 1.42.7, or between 1.42.0-1.42.6, or below 1.43.2 (specifically any version before the patched releases)
  3. Confirm duplicate upload functionality is enabled
    Review MediaWiki's LocalSettings.php or MsUpload configuration for settings related to duplicate file handling (msuAllowOverwrite or similar)
    Affected if Duplicate file uploads are permitted, as the vulnerable code path triggers when uploading a file with an existing filename
  4. Identify if msu-continue system message is customizable
    Check MediaWiki's system messages storage (database table 'page' with page_title='MsUpload-msg-msu-continue' or similar) or the extension's i18n files for the msu-continue message
    Affected if The msu-continue system message exists and can be edited, allowing injection of malicious scripts that execute when other users encounter duplicate upload scenarios

A user is affected if MsUpload extension is installed with a version before 1.39.13, 1.42.7, or 1.43.2, duplicate uploads are enabled, and the msu-continue system message can be manipulated without sanitization upon DOM insertion.

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.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade MsUpload extension to version 1.39.13, 1.42.7, or 1.43.2 or later which includes proper sanitization of the msu-continue system message before DOM insertion.

Recommended fix High confidence

MsUpload 1.39.13 (for 1.39.X), 1.42.7 (for 1.42.X), or 1.43.2 (for 1.43.X)

  1. Identify the currently installed MsUpload extension version in your MediaWiki installation
  2. Determine which branch (1.39.X, 1.42.X, or 1.43.X) your current version belongs to
  3. For MediaWiki 1.39.X: Upgrade MsUpload to version 1.39.13 or later
  4. For MediaWiki 1.42.X: Upgrade MsUpload to version 1.42.7 or later
  5. For MediaWiki 1.43.X: Upgrade MsUpload to version 1.43.2 or later
  6. Verify the upgrade by checking the extension version after installation
  7. Test the file upload functionality, including uploading the same filename twice, to confirm the XSS vulnerability is remediated

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation2.0 h
  • Testing4.0 h
  • Review / QA2.0 h
11.0 hours of engineering $1,920
Get help mitigating

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

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-7362 — 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-7362 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