CVE-2021-23345 Details
Description
All versions of package github.com/thecodingmachine/gotenberg are vulnerable to Server-side Request Forgery (SSRF) via the /convert/html endpoint when the src attribute of an HTML element refers to an internal system file, such as <iframe src='file:///etc/passwd'>.
A Server-side Request Forgery (SSRF) vulnerability exists in all versions of Gotenberg prior to 7.0.0. The issue arises in the '/convert/html' endpoint, where the 'src' attribute of an HTML element can be manipulated to reference internal system files, such as '/etc/passwd'. This exploitation allows unauthorized access to sensitive file contents.
Users are advised to upgrade Gotenberg to version 7.0.0 or higher.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/thecodingmachine/gotenberg/issues/261 | CVE | ExploitThird Party Advisory |
| https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMTHECODINGMACHINEGOTENBERG-1062043 | CVE | ExploitThird Party Advisory |
| https://github.com/thecodingmachine/gotenberg/issues/261 | [email protected] | ExploitThird Party Advisory |
| https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMTHECODINGMACHINEGOTENBERG-1062043 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| thecodingmachine gotenberg | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Mar 9, 2021 | Initial Analysis | [email protected] |