CVE-2023-37302Mediawiki
Medium 6.1 No auth needed
Follow: this CVE · Mediawiki · Mediawiki We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 50
- Auth required
- No
- Published
- Jun 30, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
An issue was discovered in SiteLinksView.php in Wikibase in MediaWiki through 1.39.3. There is XSS via a crafted badge title attribute. This is also related to lack of escaping in wbTemplate (from resources/wikibase/templates.js) for quotes (which can be in a title attribute).
What to do
- Apply the vendor's security update for Mediawiki.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | wikibase/wikibase |
≤ 1.39.3 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-fmrf-p77g-vv5c). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mediawiki | mediawiki | ≤ 1.39.3 |
Official sources
References
Links published by the sources. Open them with care.
- gerrit.wikimedia.org Release Notes Vendor Advisory
- gerrit.wikimedia.org Release Notes Vendor Advisory
- phabricator.wikimedia.org Exploit Issue Tracking Patch