Server-Side Request Forgery in terriajs-serverGHSA-p72p-rjr2-r439
Fix: TerriaJS/terriajs-server@3cbc484GHSA-p72p-rjr2-r439 is a security vulnerability in terriajs-server. A fix is available for terriajs-server — see the affected versions and patch details below.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
terriajs-servernpmDescription
Versions of terriajs-serverprior to 2.7.4 are vulnerable to Server-Side Request Forgery (SSRF). If an attacker has access to a server whitelisted by the terriajs-server proxy or if the attacker is able to modify the DNS records of a domain whitelisted by the terriajs-server proxy, the attacker can use the terriajs-server proxy to access any HTTP-accessible resources that are accessible to the server, including private resources in the hosting environment.
Recommendation
Upgrade to version 2.7.4 or later.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | terriajs-server | all versions | 2.7.4npm install terriajs-server@2.7.4 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for terriajs-server, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update terriajs-server to 2.7.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-p72p-rjr2-r439 is resolved across your whole dependency graph.
Workarounds
Restrict outbound requests from the affected component to an allowlist of hosts, block access to link-local and internal address ranges at the network layer, and require authentication on internal services so a forged request cannot reach them unauthenticated.
Frequently Asked Questions
Is GHSA-p72p-rjr2-r439 in your dependencies?
Find it across npm, including transitive dependencies.