{"id":"CVE-2024-21527","aliases":["CVE-2024-21527","GO-2024-2996"],"related":[],"kind":"vulnerability","state":"published","title":"CVE-2024-21527 in github.com/gotenberg/gotenberg","summary":"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.\n\n Workaround\nAn alternative is using either or both --chromium-deny-list and --chromium-allow-list flags.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\n Workaround\nAn alternative is using either or both --chromium-deny-list and --chromium-allow-list flags.","source":"cvelist"},{"lang":"en","text":"CVE-2024-21527 in github.com/gotenberg/gotenberg","format":"markdown","source":"go"},{"lang":"es","text":"Versiones del paquete github.com/gotenberg/gotenberg/v8/pkg/gotenberg anteriores a 8.1.0; versiones del paquete github.com/gotenberg/gotenberg/v8/pkg/modules/chromium anteriores a 8.1.0; Las versiones del paquete github.com/gotenberg/gotenberg/v8/pkg/modules/webhook anteriores a 8.1.0 son vulnerables a la Server Side Request Forgery (SSRF) a través del endpoint /convert/html cuando se realiza una solicitud a un archivo a través de localhost, como . Al explotar esta vulnerabilidad, un atacante puede lograr la inclusión de archivos locales, permitiendo la lectura de archivos confidenciales en el sistema host. Workaround una alternativa es utilizar uno o ambos indicadores --chromium-deny-list y --chromium-allow-list.","source":"nvd"}],"published":"2024-07-19T05:00:04.457Z","modified":"2026-07-08T15:25:05.437Z","severity":{"scorer":"snyk","scheme":"CVSS:4.0","vector":"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","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:4.0","vector":"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","score":8.8,"rating":"HIGH"},{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P","score":8.2,"rating":"HIGH"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"8.1.0","status":"affected"}],"product":"github.com/gotenberg/gotenberg/v8/pkg/gotenberg","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"8.1.0","status":"affected"}],"product":"github.com/gotenberg/gotenberg/v8/pkg/modules/chromium","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"8.1.0","status":"affected"}],"product":"github.com/gotenberg/gotenberg/v8/pkg/modules/webhook","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"8.1.0","status":"affected"}],"vendor":"gotenberg","product":"gotenberg","cpe":"cpe:2.3:a:gotenberg:gotenberg:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/gotenberg/gotenberg/v7","purl":"pkg:golang/github.com/gotenberg/gotenberg/v7","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.1.0"}],"ecosystem":"Go","package":"github.com/gotenberg/gotenberg/v8","purl":"pkg:golang/github.com/gotenberg/gotenberg/v8","source":"go"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGGOTENBERG-7537081","tags":["web","x-transferred"],"sources":["cvelist","go","nvd"]},{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULESCHROMIUM-7537082","tags":["web","x-transferred"],"sources":["cvelist","go","nvd"]},{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULESWEBHOOK-7537083","tags":["web","x-transferred"],"sources":["cvelist","go","nvd"]},{"url":"https://github.com/gotenberg/gotenberg/releases/tag/v8.1.0","tags":["web","x-transferred"],"sources":["cvelist","go","nvd"]},{"url":"https://github.com/gotenberg/gotenberg/commit/ad152e62e5124b673099a9103eb6e7f933771794","tags":["fix","x-transferred"],"sources":["cvelist","go","nvd"]},{"url":"https://gist.github.com/filipochnik/bc88a3d1cc17c07cec391ee98e1e6356","tags":["web","x-transferred"],"sources":["cvelist","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21527","tags":["advisory"],"sources":["go"]}],"credits":["Filip Ochnik"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2024-07-23T14:34:36.236Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21527","url":"https://www.cve.org/CVERecord?id=CVE-2024-21527","licence":"CVE Terms of Use","modified":"2026-07-08T15:25:05.437Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2996","url":"https://pkg.go.dev/vuln/GO-2024-2996","licence":"CC-BY-4.0","modified":"2026-03-03T04:51:54.952Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21527","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21527","licence":"Public domain","modified":"2026-07-02T16:16:26.350Z"}],"updatedAt":"2026-11-25T22:58:43.054Z","epss":{"score":0.00574,"percentile":0.48735,"date":"2026-12-01T12:00:22.000Z"}}