{"id":"CVE-2026-27818","aliases":["CVE-2026-27818","GHSA-w789-49fc-v8hr"],"related":[],"kind":"vulnerability","state":"published","title":"TerriaJS-Server has a domain validation bypass vulnerability in its proxy allowlist","summary":"TerriaJS-Server is a NodeJS Express server for TerriaJS, a library for building web-based geospatial data explorers. A validation bug in versions prior to 4.0.3 allows an attacker to proxy domains not explicitly allowed in the `proxyableDomains` configuration. Version 4.0.3 fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"TerriaJS-Server is a NodeJS Express server for TerriaJS, a library for building web-based geospatial data explorers. A validation bug in versions prior to 4.0.3 allows an attacker to proxy domains not explicitly allowed in the `proxyableDomains` configuration. Version 4.0.3 fixes the issue.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"TerriaJS-Server es un servidor NodeJS Express para TerriaJS, una biblioteca para construir exploradores de datos geoespaciales basados en la web. Un error de validación en versiones anteriores a la 4.0.3 permite a un atacante hacer proxy de dominios no permitidos explícitamente en la configuración 'proxyableDomains'. La versión 4.0.3 soluciona el problema.","source":"nvd"}],"published":"2026-02-26T00:02:45.127Z","modified":"2026-06-17T10:27:44.177Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-20","CWE-918"],"affected":[{"ranges":[{"version":"< 4.0.3","status":"affected"}],"vendor":"TerriaJS","product":"terriajs-server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.0.3"}],"ecosystem":"npm","package":"terriajs-server","purl":"pkg:npm/terriajs-server","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.0.3"}],"vendor":"terria","product":"terriajs-server","cpe":"cpe:2.3:a:terria:terriajs-server:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/TerriaJS/terriajs-server/security/advisories/GHSA-w789-49fc-v8hr","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/TerriaJS/terriajs-server/commit/3aaa5d9717162b245ae4569232bbe7d8673c913f","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27818","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/TerriaJS/terriajs-server","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/TerriaJS/terriajs-server/releases/tag/4.0.3","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-02-26T15:16:18.815Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-27818","url":"https://www.cve.org/CVERecord?id=CVE-2026-27818","licence":"CVE Terms of Use","modified":"2026-02-26T15:16:30.580Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w789-49fc-v8hr","url":"https://github.com/advisories/GHSA-w789-49fc-v8hr","licence":"CC-BY-4.0","modified":"2026-02-26T15:32:54.424Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-27818","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27818","licence":"Public domain","modified":"2026-06-17T10:27:44.177Z"}],"updatedAt":"2026-11-25T22:59:14.922Z","epss":{"score":0.00289,"percentile":0.23107,"date":"2026-12-01T12:00:22.000Z"}}