mediawiki/maps is vulnerable to Server-Side Request Forgery (SSRF)
54
Medium Risk
MediaWiki Maps fetches GeoJSON source URLs that editors supply, guarded by UrlSsrfGuard, which blocks requests only against a reserved address denylist checked once through Wikimedia\IPUtils::isPublic(). That denylist misses IPv4-mapped, NAT64, and 6to4 encodings of reserved IPv4 addresses, and a second DNS resolution at fetch time can return a different address than the one already checked, a DNS rebinding race. Both gaps let an editor supplied GeoJSON URL reach internal or cloud metadata addresses despite the guard. The fix rewrites the guard to validate scheme and hostname syntax, block every reserved address encoding, fail closed on unresolved or mixed DNS answers, and pin the connection to the checked addresses so a later DNS lookup cannot substitute a different one.
You are affected if you are using a version that falls within the vulnerable range and you allow editors to provide external GeoJSON source URLs for maps.
mediawiki/maps is vulnerable to Server-Side Request Forgery (SSRF) in versions 0.0.1 - 12.1.8, 13.0.0 - 13.1.1 and 14.0.0 - 14.2.0.
Upgrade the mediawiki/maps library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.