GHSA-w789-49fc-v8hr

Suggest an improvement
Source
https://github.com/advisories/GHSA-w789-49fc-v8hr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-w789-49fc-v8hr/GHSA-w789-49fc-v8hr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-w789-49fc-v8hr
Aliases
Published
2026-02-26T15:22:11Z
Modified
2026-02-26T15:32:54.424919Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2026-02-26T00:16:26Z",
    "github_reviewed_at": "2026-02-26T15:22:11Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-20",
        "CWE-918"
    ],
    "severity": "HIGH"
}
References

Affected packages

npm / terriajs-server

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.0.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-w789-49fc-v8hr/GHSA-w789-49fc-v8hr.json"