CVE-2026-55385

InvoiceShelf: SSRF via unvalidated Gotenberg PDF renderer host in PDF configuration

Published Oct 14, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
InvoiceShelf is an open-source web & mobile app that helps track expenses, payments and create professional invoices and estimates. Prior to version 2.4.0, InvoiceShelf's PDFConfigurationRequest.php validates the owner-controlled gotenberg_host setting only as a syntactically valid URL. GotenbergPDFDriver::loadView later sends a multipart HTTP request containing rendered invoice, estimate, or payment HTML as document.html to that host without rejecting private, loopback, link-local, or reserved addresses. An owner can use PDF generation to reach internal services or cloud metadata endpoints, and a configured external host receives customer names, addresses, line items, totals, and company identifiers from subsequent PDF renders. This issue is fixed in version 2.4.0.

Analysis

AI-generated

Technical impact

InvoiceShelf's PDF generation feature uses Gotenberg to render documents. The configuration parameter for the Gotenberg host is only checked for syntactic URL validity and is not validated against private, loopback, or reserved IP ranges. An application owner can supply any URL, allowing the server to issue HTTP requests to arbitrary internal or external addresses during PDF rendering. This enables the attacker to trigger sensitive endpoints such as cloud metadata services or internal APIs, and the rendered PDF may expose customer details, invoices, and company identifiers. The vulnerability is a classic Server Side Request Forgery identified as CWE‑918.

Affected Systems

All InvoiceShelf installations running before version 2.4.0 are affected, regardless of deployment size, because the owner‑controlled gotenberg_host configuration is unchecked before the PDF rendering stage. The flaw exists in the InvoiceShelf project under the path PDFConfigurationRequest.php and the GotenbergPDFDriver::loadView logic. Any user with ownership or administrative rights who can trigger PDF creation—such as generating invoices, estimates, or payments—can exploit the flaw.

Risk and Exploitability

The CVSS score for this issue is 6.8, indicating a moderate risk level. EPSS data is not available, so the likelihood of exploitation in the wild cannot be quantified from the dataset. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves the web application, specifically the PDF generation API, where an authenticated owner passes a malicious URL. If exploited, the attacker can reach internal network resources or public cloud metadata endpoints and obtain confidential data without needing privileged network access.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade InvoiceShelf to version 2.4.0 or newer, which rejects private, loopback, link‑local, and reserved addresses in the Gotenberg host configuration.
  • If an immediate upgrade is not possible, restrict the gotenberg_host setting to a whitelist of trusted domains or internal endpoints and block outbound requests to private IP ranges via firewall rules.
  • Limit ownership privileges so that only trusted personnel can modify the Gotenberg host configuration and monitor PDF generation logs for abnormal outbound requests.

Generated by OpenCVE AI on October 15, 2026 at 13:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Invoiceshelf
Invoiceshelf invoiceshelf
Vendors & Products Invoiceshelf
Invoiceshelf invoiceshelf
Type Values Removed Values Added
Description InvoiceShelf is an open-source web & mobile app that helps track expenses, payments and create professional invoices and estimates. Prior to version 2.4.0, InvoiceShelf's PDFConfigurationRequest.php validates the owner-controlled gotenberg_host setting only as a syntactically valid URL. GotenbergPDFDriver::loadView later sends a multipart HTTP request containing rendered invoice, estimate, or payment HTML as document.html to that host without rejecting private, loopback, link-local, or reserved addresses. An owner can use PDF generation to reach internal services or cloud metadata endpoints, and a configured external host receives customer names, addresses, line items, totals, and company identifiers from subsequent PDF renders. This issue is fixed in version 2.4.0.
Title InvoiceShelf: SSRF via unvalidated Gotenberg PDF renderer host in PDF configuration
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 20, 2026, 2:02 AM
Reserved
Jun 16, 2026, 6:57 PM
Status
Deferred
Published
Oct 14, 2026, 8:17 PM
Modified
Oct 20, 2026, 3:17 AM