CVE-2020-15005 — core
LOWCVE-2020-15005 is a low-severity (CVSS 3.1) vulnerability in mediawiki/core. A fix is available for mediawiki/core — see the affected versions and patch details below.
img_auth.php may leak private extension images into the public cache
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
mediawiki/core🐘mediawiki/core🐘mediawiki/coreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
In MediaWiki before 1.31.8, 1.32.x and 1.33.x before 1.33.4, and 1.34.x before 1.34.2, private wikis behind a caching server using the img_auth.php image authorization security feature may have had their files cached publicly, so any unauthorized user could view them. This occurs because Cache-Control and Vary headers were mishandled.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | mediawiki/core | all versions | 1.31.8composer require mediawiki/core:^1.31.8 |
| 🐘Packagist | mediawiki/core | ≥ 1.32.0&&< 1.33.4 | 1.33.4composer require mediawiki/core:^1.33.4 |
| 🐘Packagist | mediawiki/core | ≥ 1.34.0&&< 1.34.2 | 1.34.2composer require mediawiki/core:^1.34.2 |
Affected Products
debian linuxdebianfedorafedoraprojectmediawikimediawikiDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for mediawiki/core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update mediawiki/core to 1.31.8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-15005 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2020-15005 in your dependencies?
Find it across Packagist, including transitive dependencies.