{"id":"GHSA-w789-49fc-v8hr","summary":"TerriaJS-Server has a domain validation bypass vulnerability in its proxy allowlist","details":"### Impact\nA validation bug allows an attacker to proxy domains not explicitly allowed in the `proxyableDomains` configuration.\n\nThe validation only checks if a hostname _ended_ with an allowed domain. This meant:\n\nIf `example.com` is allowed in `proxyableDomains`:\n\n- ✅ example.com is allowed (correct)\n- ✅ api.example.com is allowed (correct)\n- ⚠️ maliciousexample.com is allowed (incorrect)\n\nAn attacker could register maliciousexample.com and proxy content through `terriajs-server`, bypassing proxy restrictions.\n\n### Patches\nAll versions up to 4.0.2 are affected. Upgrade to 4.0.3 to address the vulnerability.","aliases":["CVE-2026-27818"],"modified":"2026-02-26T15:32:54.424919Z","published":"2026-02-26T15:22:11Z","database_specific":{"cwe_ids":["CWE-20","CWE-918"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-02-26T15:22:11Z","nvd_published_at":"2026-02-26T00:16:26Z"},"references":[{"type":"WEB","url":"https://github.com/TerriaJS/terriajs-server/security/advisories/GHSA-w789-49fc-v8hr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27818"},{"type":"WEB","url":"https://github.com/TerriaJS/terriajs-server/commit/3aaa5d9717162b245ae4569232bbe7d8673c913f"},{"type":"PACKAGE","url":"https://github.com/TerriaJS/terriajs-server"},{"type":"WEB","url":"https://github.com/TerriaJS/terriajs-server/releases/tag/4.0.3"}],"affected":[{"package":{"name":"terriajs-server","ecosystem":"npm","purl":"pkg:npm/terriajs-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"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"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}