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

CVE-2025-53496

MEDIUM · 5.4 CVSS v3.1 Published 2025-07-07
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
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Wikimedia Foundation Mediawiki - MediaSearch Extension allows Stored XSS.This issue affects Mediawiki - MediaSearch Extension: 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 MediaSearch Extension where user input is not properly neutralized before being rendered in web pages, allowing malicious scripts to be persisted and executed in victims' browsers when they view affected content.

MitigationUpgrade MediaWiki MediaSearch Extension to version 1.42.7 or 1.43.2 or later to patch the improper input neutralization.

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. Confirm MediaSearch extension is installed and enabled
    Visit Special:Version in your MediaWiki installation or check LocalSettings.php for 'wfLoadExtension( 'MediaSearch' )' or similar MediaSearch inclusion
    Affected if MediaSearch extension is present and loaded in the wiki configuration
  2. Identify the installed MediaSearch extension version
    Visit Special:Extensions and look for the MediaSearch extension version, or inspect the extension.json or composer.json file in the extensions/MediaSearch directory
    Affected if The version is lower than 1.42.7 or between 1.43.0 and 1.43.1 (not 1.42.7+, 1.43.2+, or later)
  3. Verify the MediaSearch feature is actively accessible
    Navigate to the search functionality on your wiki to confirm MediaSearch is functional and accessible to users
    Affected if MediaSearch is enabled and users can access search features that index or display media content
  4. Check for user-contributed content that gets indexed
    Review whether your wiki allows users to upload or add content (descriptions, titles, captions) that would be processed by MediaSearch
    Affected if Users can contribute content that gets stored and displayed through MediaSearch, creating the injection vector for stored XSS

Your environment is affected if MediaSearch extension is enabled and its version is below 1.42.7 or falls between 1.43.0 and 1.43.1, and users can submit content that gets indexed and displayed.

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 MediaWiki MediaSearch Extension to version 1.42.7 or 1.43.2 or later to patch the improper input neutralization.

Recommended fix High confidence

MediaWiki MediaSearch Extension 1.42.7 or 1.43.2 (matching your base MediaWiki version)

  1. 1. Identify your current MediaWiki version by checking $wgVersion in your LocalSettings.php or running 'php maintenance/run.php version'
  2. 2. If running MediaWiki 1.42.x, upgrade to 1.42.7. If running 1.43.x, upgrade to 1.43.2
  3. 3. Navigate to your MediaWiki installation directory
  4. 4. Backup your LocalSettings.php and any custom configuration
  5. 5. Update the MediaSearch extension using your package manager (composer require mediawiki/media-search:"1.42.7" or "1.43.2" depending on your base MW version)
  6. 6. Alternatively, download the specific tagged release from https://github.com/wikimedia/mediawiki-extensions-MediaSearch
  7. 7. Clear any caching systems (PHP opcache, CDNs, MediaWiki object cache)
  8. 8. Verify the extension is loaded by checking Special:Version on your wiki
Caveat Ensure your base MediaWiki version (1.42 or 1.43) is compatible with the extension version; minor release upgrades within the same major version are typically safe

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

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

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

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

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