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:
An attacker could register maliciousexample.com and proxy content through terriajs-server, bypassing proxy restrictions.
All versions up to 4.0.2 are affected. Upgrade to 4.0.3 to address the vulnerability.
{
"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"
}