CVE-2026-125358
Universal-modder before commit e88f6876745427321eb755ebc98276063a962d8a contains a missing WebSocket Origin validation vulnerability in the HostLink class of i…
Impact
Universal-modder before commit e88f6876745427321eb755ebc98276063a962d8a contains a missing WebSocket Origin validation vulnerability in the HostLink class of its passthrough example mods that allows remote attackers to execute Minecraft commands. Any web page open in the player's browser can connect cross-site to the unauthenticated loopback WebSocket and send cmd messages that WorldBridge.command() runs with operator authority.
An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: high risk of data or systems being changed, high risk of outages.
Affected products · Rehan-remade
| Product | Affected versions |
|---|---|
| Universal-modder | before e88f6876745427321eb755ebc98276063a962d8a |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/rehan-remade/universal-modder/security/advisories/GHSA-wjf6-3h6v-4gq9
- https://github.com/rehan-remade/universal-modder/commit/e88f6876745427321eb755ebc98276063a962d8a
- https://github.com/rehan-remade/universal-modder/blob/edf45f6a26cb047886d9d7bcba392c328fc3d317/examples/minecraft-gta5-passthrough/mc/src/client/java/dev/rehan/passthrough/client/HostLink.java#L54-L72
- https://www.vulncheck.com/advisories/universal-modder-before-e88f687-cross-site-websocket-command-execution-via-hostlink
- https://github.com/advisories/GHSA-8qp9-fmqr-f85w
- https://nvd.nist.gov/vuln/detail/CVE-2026-125358