CVE-2025-7057
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 · uneditedImproper 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 confidenceStored 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.
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 checksWork through these to decide whether this CVE applies to you.
-
Identify if MediaWiki Quiz Extension is installedCheck 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 similarAffected if The Quiz extension is present in the MediaWiki installation
-
Determine the installed Quiz Extension versionCheck 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 wikiAffected 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
-
Verify the Quiz extension is enabledInspect 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:VersionAffected if The extension is enabled and functional in MediaWiki, making the XSS vulnerability exploitable through quiz input fields
-
Confirm quiz content creation capability existsCheck 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 contentAffected 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.
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 · scopedUpdate 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.
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. Identify the currently installed MediaWiki Quiz Extension version by checking your extension directory or composer.json
- 2. Determine which branch you are running (1.39.X, 1.42.X, or 1.43.X)
- 3. For 1.39.X branch: Upgrade to version 1.39.13 or later
- 4. For 1.42.X branch: Upgrade to version 1.42.7 or later
- 5. For 1.43.X branch: Upgrade to version 1.43.2 or later
- 6. Update via Composer: Run `composer update mediawiki/quiz --with-all-dependencies` or your project's package manager
- 7. Clear any application caches after upgrading
- 8. Verify the upgrade was successful by checking the extension version
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation1.0 h
- Testing4.0 h
- Review / QA2.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-7057 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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