# CVE-2024-21527: CVE-2024-21527 in github.com/gotenberg/gotenberg

- Severity: High 8.8 (CVSS:4.0, scored by snyk) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Published: 2024-07-19T05:00:04.457Z
- Modified: 2026-07-08T15:25:05.437Z
- Also known as: GO-2024-2996
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- github.com/gotenberg/gotenberg/v8/pkg/gotenberg: before 8.1.0
- github.com/gotenberg/gotenberg/v8/pkg/modules/chromium: before 8.1.0
- github.com/gotenberg/gotenberg/v8/pkg/modules/webhook: before 8.1.0
- gotenberg gotenberg: before 8.1.0
- github.com/gotenberg/gotenberg/v7 (Go): all versions
- github.com/gotenberg/gotenberg/v8 (Go): before 8.1.0

## Every score

- snyk: CVSS:4.0 8.8 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P`
- snyk: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P`

## References

- <https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGGOTENBERG-7537081> (web)
- <https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULESCHROMIUM-7537082> (web)
- <https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULESWEBHOOK-7537083> (web)
- <https://github.com/gotenberg/gotenberg/releases/tag/v8.1.0> (web)
- <https://github.com/gotenberg/gotenberg/commit/ad152e62e5124b673099a9103eb6e7f933771794> (fix)
- <https://gist.github.com/filipochnik/bc88a3d1cc17c07cec391ee98e1e6356> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-21527> (advisory)

## Sources

- CVE List: [CVE-2024-21527](https://www.cve.org/CVERecord?id=CVE-2024-21527), CVE Terms of Use, modified 2026-07-08
- Go Vulnerability Database: [GO-2024-2996](https://pkg.go.dev/vuln/GO-2024-2996), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-21527](https://nvd.nist.gov/vuln/detail/CVE-2024-21527), Public domain, modified 2026-07-02

---

Page: https://cve.day/CVE-2024-21527 · Whole record: https://cve.day/CVE-2024-21527.json · Rebuilt by cve.day 2026-11-25T22:58:43.054Z
