NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐘
🐘 Packagist
Not in CISA KEV
MEDIUM severity

CVE-2018-0504 — core

MEDIUM

CVE-2018-0504 is a medium-severity (CVSS 6.5) CWE-532 vulnerability in mediawiki/core. A fix is available for mediawiki/core — see the affected versions and patch details below.

Mediawiki information disclosure vulnerability

Also known asGHSA-hr8v-f4g2-p66f
Published
Updated
Affected
4 pkgs
Patched
4 / 4
Exploits
None indexed
Exploitation data as of Oct 24, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
2.9%probability of exploitation in next 30 days
Lower Risk+0.08%
Lower risk than most CVEs87th percentile — riskier than 87% of all scored CVEsHighest risk
1.03%1.81%2.59%3.38%1.6%2.9%Apr 26Aug 26Oct 26

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

4 pkgs affected
🐘mediawiki/core🐘mediawiki/core🐘mediawiki/core🐘mediawiki/core

Real-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

Mediawiki 1.31 before 1.31.1, 1.30.1, 1.29.3 and 1.27.5 contains an information disclosure flaw in the Special:Redirect/logid

Affected Packages

4 total 4 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistmediawiki/core≥ 1.27.0&&< 1.27.51.27.5composer require mediawiki/core:^1.27.5
🐘Packagistmediawiki/core≥ 1.29.0&&< 1.29.31.29.3composer require mediawiki/core:^1.29.3
🐘Packagistmediawiki/core≥ 1.30.0&&< 1.30.11.30.1composer require mediawiki/core:^1.30.1
🐘Packagistmediawiki/core≥ 1.31.0&&< 1.31.11.31.1composer require mediawiki/core:^1.31.1

Affected Products

2 products · 5 configurations
OS
debian linuxdebian
1 version
9.0
Application
mediawikimediawiki
≥ 1.31.0 && < 1.31.1
3 versions
1.27.51.29.31.30.1

Detection & mitigation playbook

Open-source dependency
  1. Detect

    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.

  2. Fix

    Update mediawiki/core to 1.27.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2018-0504 is resolved across your whole dependency graph.

  3. Workarounds

    Assume what was exposed is already known: rotate any credential, token or key that the affected component could return, restrict the endpoint to callers that genuinely need it, and strip sensitive fields from responses and error output at the boundary rather than relying on the client not to read them.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatLow
ProductFixed inAdvisory
Red Hat OpenShift Container Platform 3.10mediawiki-0:1.27.7-1.el7RHSA-2019:3238
Red Hat OpenShift Container Platform 3.9mediawiki123-0:1.23.17-1.el7RHSA-2019:3813

Frequently Asked Questions

Mediawiki 1.31 before 1.31.1, 1.30.1, 1.29.3 and 1.27.5 contains an information disclosure flaw in the Special:Redirect/logid
O3 Security · Impact-Aware SCA

Is CVE-2018-0504 in your dependencies?

Find it across Packagist, including transitive dependencies.

CVE-2018-0504: core Info Disclosure — Fixed in 1.27.5