CVE-2024-21527: Versions of the package github.com/gotenberg/gotenberg/v8/pkg/gotenberg before 8.1.0; versions of the packa...
Versions of the package github.com/gotenberg/gotenberg/v8/pkg/gotenberg before 8.1.0; versions of the package github.com/gotenberg/gotenberg/v8/pkg/modules/chromium before 8.1.0; versions of the package github.com/gotenberg/gotenberg/v8/pkg/modules/webhook before 8.1.0 are vulnerable to Server-side Request Forgery (SSRF) via the /convert/html endpoint when a request is made to a file via localhost, such as <iframe src="\\localhost/etc/passwd">. By exploiting this vulnerability, an attacker can achieve local file inclusion, allowing of sensitive files read on the host system.
Workaround
An alternative is using either or both --chromium-deny-list and --chromium-allow-list flags.
Security readout for executives and security teams
Plain-English summary
Gotenberg before 8.1.0 can be tricked into reading local host files during HTML conversion. If attackers can submit HTML to the conversion endpoint, sensitive files on the server may be exposed. The source bundle identifies a fix in 8.1.0 and a configuration workaround.
Executive priority
Treat as urgent for exposed document-conversion services because successful abuse can disclose sensitive server files without authentication. Prioritize patching internet-facing or multi-tenant Gotenberg deployments first.
Technical view
CVE-2024-21527 is an SSRF issue in Gotenberg v8 packages gotenberg, modules/chromium, and modules/webhook before 8.1.0. The vulnerable surface is /convert/html handling of localhost file references, leading to local file inclusion and high confidentiality impact.
Likely exposure
Exposure is most likely where Gotenberg before 8.1.0 processes HTML supplied by users, customers, tenants, or upstream systems. Internet-facing conversion services carry higher risk; internal-only services remain exposed if untrusted HTML can reach them.
Exploitation context
The bundle does not show CISA KEV listing or confirmed active exploitation. It includes public vulnerability references and a public gist reference, so assume exploit knowledge may be available without treating in-the-wild exploitation as proven.
Researcher notes
The evidence supports SSRF-to-local-file-read behavior, affected versions before 8.1.0, and a documented allow-list or deny-list workaround. The bundle does not provide evidence of confirmed exploitation in the wild.
Mitigation direction
Upgrade affected Gotenberg v8 packages or deployments to 8.1.0 or later.
Use --chromium-deny-list and/or --chromium-allow-list as the documented workaround.
Limit access to /convert/html to trusted callers only.
Block untrusted HTML conversion until patched or allow-listed.
Review vendor release notes for any additional hardening guidance.
Validation and detection
Inventory Gotenberg deployments and Go package versions.
Confirm whether /convert/html is reachable by untrusted users or services.
Verify all affected packages are at 8.1.0 or later.
Check runtime configuration for chromium allow-list or deny-list controls.
Review logs for suspicious localhost or local file conversion attempts.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-918: Information exposure and cloud metadata lookup
Information exposure and SSRF weaknesses can make discovery, cloud metadata, and credential material review relevant. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references SSRF or metadata access, so cloud discovery and credential material review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-918 · source CWE mapping
Server-Side Request Forgery (SSRF)
Server-Side Request Forgery (SSRF) represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.