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

CVE-2025-7057

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 - Quiz Extension allows Stored XSS.This issue affects Mediawiki - Quiz 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 Cross-Site Scripting (XSS) vulnerability in the MediaWiki Quiz Extension allows attackers to inject malicious JavaScript through quiz inputs that are stored and rendered without proper sanitization. When other users view or interact with the compromised quiz content, the injected script executes in their browsers, potentially stealing session cookies or performing actions on behalf of victims.

MitigationUpdate MediaWiki Quiz Extension to version 1.39.13, 1.42.7, or 1.43.2 or later, which contain proper input validation and output encoding to neutralize malicious scripts.

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. Identify if MediaWiki Quiz Extension is installed
    Check the MediaWiki extensions directory for the Quiz extension folder, or query the database table 'extension_credits' where 'extname' = 'Quiz', or look in LocalSettings.php for 'wfLoadExtension( "Quiz" )' or similar
    Affected if The Quiz extension is present in the MediaWiki installation
  2. Determine the installed Quiz Extension version
    Check the version file within the Quiz extension directory (typically extension.json or composer.json), or query the 'module' table in the database for 'ext.quiz' and inspect the 'version' field, or check Special:Version on the wiki
    Affected if The version number is lower than 1.39.13, 1.42.7, or 1.43.2 (or shows no version) indicating it is a vulnerable release
  3. Verify the Quiz extension is enabled
    Inspect LocalSettings.php for the Quiz extension loading line, or check the 'config' table for 'wgDisableExtensions' to ensure Quiz is not disabled, or confirm the extension appears as active on Special:Version
    Affected if The extension is enabled and functional in MediaWiki, making the XSS vulnerability exploitable through quiz input fields
  4. Confirm quiz content creation capability exists
    Check if users with appropriate permissions can access the quiz editing interface (typically Special:Quiz), or inspect the 'actor' and 'page' tables to find pages in the 'Quiz' namespace indicating existing quiz content
    Affected if Quiz functionality is accessible and quiz pages exist in the wiki, meaning stored XSS could be injected and rendered for other users

If the Quiz extension is installed, enabled, and the version is before 1.39.13, 1.42.7, or 1.43.2, and quiz content can be created or already exists, the environment is likely affected by this stored XSS vulnerability.

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

Update MediaWiki Quiz Extension to version 1.39.13, 1.42.7, or 1.43.2 or later, which contain proper input validation and output encoding to neutralize malicious scripts.

Recommended fix High confidence

Upgrade to 1.39.13+ (for 1.39.X), 1.42.7+ (for 1.42.X), or 1.43.2+ (for 1.43.X)

  1. 1. Identify the currently installed MediaWiki Quiz Extension version by checking your extension directory or composer.json
  2. 2. Determine which branch you are running (1.39.X, 1.42.X, or 1.43.X)
  3. 3. For 1.39.X branch: Upgrade to version 1.39.13 or later
  4. 4. For 1.42.X branch: Upgrade to version 1.42.7 or later
  5. 5. For 1.43.X branch: Upgrade to version 1.43.2 or later
  6. 6. Update via Composer: Run `composer update mediawiki/quiz --with-all-dependencies` or your project's package manager
  7. 7. Clear any application caches after upgrading
  8. 8. Verify the upgrade was successful by checking the extension version
Caveat Review release notes for any breaking changes between your current version and the target version before upgrading

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

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

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

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

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