CVE-2026-27818: TerriaJS-Server Domain Validation Bypass Vulnerability

terriajs-server Updated 26 Feb 2026

Summary

26/02/2026
Yes i
High
8.7

CVE-2026-27818: TerriaJS-Server has a domain validation bypass vulnerability in its proxy allowlist. Affects terriajs-server versions < 4.0.3. Fixed in 4.0.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

TerriaJS-Server is an open-source server designed to facilitate the serving of geospatial data and applications. It allows users to proxy requests to various domains, enabling seamless integration of diverse data sources. However, the server's proxy functionality is susceptible to a domain validation bypass vulnerability, which can lead to unauthorized access to restricted domains.

Vulnerability Detail

The vulnerability arises from a validation bug in the proxy allowlist configuration of TerriaJS-Server. The server only checks if a hostname ends with an allowed domain, which can be exploited by an attacker. For instance, if 'example.com' is allowed, an attacker could register 'maliciousexample.com' and successfully proxy content through the server, bypassing intended restrictions. This flaw can lead to unauthorized data access and potential security breaches.

How To Fix

Minimum fixed version

4.0.3

This is the first release that contains the fix.

npm install terriajs-server@4.0.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can manually review and restrict the domains listed in the 'proxyableDomains' configuration to ensure that only trusted domains are included. However, upgrading to the patched version is the recommended solution.

Conclusion

The domain validation bypass vulnerability in TerriaJS-Server poses significant security risks by allowing unauthorized access to proxied domains. Users are strongly advised to upgrade to version 4.0.3 to mitigate this risk and ensure the integrity of their applications.

See every vulnerability recorded for terriajs-server →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 8.7, indicating a high severity level.

All versions up to 4.0.2 are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

If immediate upgrading is not possible, ensure to restrict the domains in the 'proxyableDomains' configuration to trusted sources as a temporary measure.

Vulert is a tool that monitors and alerts in real-time for open-source vulnerabilities using just the package-lock.json file. More information can be found at https://vulert.com.

Related vulnerabilities

Recent vulnerabilities recorded for terriajs-server.

How To Fix

Minimum fixed version

4.0.3

This is the first release that contains the fix.

npm install terriajs-server@4.0.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback