GHSA-hw3m-8j5x-94ff: Medium severity composer/mediawiki/semantic-media-wiki vulnerability

Published Sep 18, 2026
·
Updated

Failure mode

Special:URIResolver resolves its user-controlled subpage to a MediaWiki title and issues an HTTP 303 redirect to $title->getFullURL() without validating the resolved target. A crafted subpage can make that target point off-host: an interwiki prefix redirects to the foreign wiki (for example Special:URIResolver/mw-3AFoo, which decodes to mw:Foo, redirects to https://www.mediawiki.org/wiki/Foo), and where the resolved URL carries an authority the target can even embed user:pass@host credentials. The result is an open redirect to an attacker-influenced host, usable for phishing from a trusted wiki URL.

Remediation

- The resolved target URL is parsed and compared against the current host at the redirect sink. - The redirect is rejected (bad-title error page) when a user or pass component is present, or when the host does not match the current host.

Maintenance note

Redirect code must validate the final target URL, not just the input path. Host comparison belongs at the redirect sink: each sink (special page, entry point) must validate its own target rather than relying on upstream normalisation.

Affected Software

1 affected componentFixes available
composer/mediawiki/semantic-media-wiki<=7.1.0
7.2.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/mediawiki/semantic-media-wiki to a version that resolves this vulnerability.

    Fixed in 7.2.0

Event History

Sep 18, 2026
Advisory Published
via GitHub·04:51 PM
Data Sourced
via GitHub·04:51 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What does an attacker need to exploit this issue?

An attacker needs to craft a Special:URIResolver subpage that resolves to an off-host target and persuade a victim to follow the resulting trusted-wiki URL. No attacker privileges are required, but user interaction is required.

2

Can the redirect target contain embedded credentials?

Yes. Where the resolved URL includes an authority component, the redirect target can embed user:pass@host credentials. Remediation rejects targets containing either a user or password component.

3

What should be validated if an immediate code-level mitigation is needed?

Parse the final resolved target URL at the redirect sink and compare its host with the current host. Reject the redirect with a bad-title error when the host differs or when user or password components are present.

4

Is validating the supplied path alone sufficient?

No. Validation must apply to the final target URL after title resolution, because each redirect sink must validate its own target rather than relying on upstream path normalization.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203