CVE-2020-8902:
SSRF in Rendertron
4.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.17968%
CWE
Published
3/1/2021
Updated
2/1/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
rendertron | npm | < 3.0.0 | 3.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The core vulnerability exists in the URL validation flow. The restricted()
method was insufficient as it only checked protocols, not hostnames. The handle()
method's pre-render validation was missing entirely for some endpoints. The patch adds: 1) Hostname validation in restricted()
, 2) Enforcement of restrictions in handle()
. In vulnerable versions, these security checks were absent, allowing internal host access. Both functions would appear in stack traces when processing malicious render/screenshot requests.