Advisory

GHSA-w789-49fc-v8hr

Also known as: CVE-2026-27818

Summary

TerriaJS-Server has a domain validation bypass vulnerability in its proxy allowlist

Details

Impact
A validation bug allows an attacker to proxy domains not explicitly allowed in the proxyableDomains configuration.

The validation only checks if a hostname _ended_ with an allowed domain. This meant:

If example.com is allowed in proxyableDomains:

  • ✅ example.com is allowed (correct)
  • ✅ api.example.com is allowed (correct)
  • ⚠️ maliciousexample.com is allowed (incorrect)

An attacker could register maliciousexample.com and proxy content through terriajs-server, bypassing proxy restrictions.

Patches
All versions up to 4.0.2 are affected. Upgrade to 4.0.3 to address the vulnerability.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-02-26 15:22 UTC
Modified
2026-02-26 15:32 UTC

Affected packages and fixes

terriajs-server

npm · All systems

Affected

  • introduced 0, fixed 4.0.3 (semver)

Fixed versions

4.0.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences