Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain DB read access (SQLi/backup/replica)
-
DeliveryDump api_tokens table
-
ExploitExtract plaintext tokens
-
ExecutionAuthenticate to REST API as victim users
-
ImpactRead or modify invoicing data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V14 - Data Protection Encrypted storage of sensitive data
|
| Exploitation Conditions | The attacker must first obtain read access to the api_tokens table of the SolidInvoice database - via a separate SQL injection in SolidInvoice or a co-hosted app, an exposed or stolen database backup, a misconfigured replica, or insider database access. Once that prerequisite is met, no additional credentials, user interaction, or non-default configuration are required: every existing token in the table is immediately usable against the REST API over the network. Limiting factors are that vanilla network access to SolidInvoice alone is not sufficient (the database itself must be reachable in some form), and deployments that already isolate the database and encrypt backups materially reduce realistic exposure. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/C:H/I:H/A:N, 8.1) reflects that the vulnerability itself is realized only after a separate compromise grants database read - PR:L is essentially a stand-in for that prior access rather than an application-level role. EPSS and KEV data are not provided, and no public PoC is referenced, so this should be treated as an amplifier of other incidents (SQLi, backup leak, replica misconfiguration, insider snooping) rather than a directly exploitable internet-facing bug. The 'SQLi' tag is suggestive but no SolidInvoice-specific SQL injection vector is cited in the advisory - verify before assuming a one-shot remote chain. Real priority is high for any deployment where the database has broader access surface than the application itself, lower for tightly isolated single-tenant installs. |
| Exploit ScenarioDerived | An attacker exploits an unrelated SQL injection in another component, dumps the api_tokens table, and immediately replays the plaintext values against SolidInvoice's REST API as any user - bypassing password and MFA. Equivalent outcomes follow from obtaining a recent database backup left on shared storage or accessing a misconfigured read replica. No public exploit is identified at time of analysis; the attack requires no SolidInvoice-specific exploit code once tokens are in hand. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 11, 2026
Plaintext credential exposure in SolidInvoice open-source invoicing platform prior to 2.3.17 allows any actor with read access to the application database to harvest every user's REST API token directly from the api_tokens table. Because tokens are stored unhashed, secondary exposures such as SQL injection, stolen backups, replicated databases, or insider access become full account-takeover paths against the API. No public exploit is identified at time of analysis and the issue is not listed in CISA KEV, but the patch in 2.3.17 (commit 8645391) introduces HMAC-SHA256 token hashing keyed by SOLIDINVOICE_APP_SECRET.
RemediationAI
Vendor-released patch: upgrade SolidInvoice to 2.3.17 or later (https://github.com/SolidInvoice/SolidInvoice/releases/tag/2.3.17), which ships the Version20317 migration that re-hashes existing rows in place so issued tokens keep working. After upgrading, operators should rotate SOLIDINVOICE_APP_SECRET to invalidate all existing API tokens and require users to regenerate them - note the side effect that this forces every API client to re-enroll. If immediate upgrade is not possible, compensating controls include restricting database connectivity so that only the application host can reach it (blocks leaked-credential reuse but does not help against SQLi), enforcing encrypted-at-rest backups with strict ACLs, auditing for unauthorized replicas, and proactively revoking and reissuing all API tokens via the management UI while monitoring api_tokens for unexpected reads. See advisory GHSA-qjfc-h39r-cgwq for full guidance.
Affected VersionsENISA
Affected Packages
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
SolidInvoice is a Symfony/PHP-based invoicing application (CPE cpe:2.3:a:solidinvoice:solidinvoice). The flaw is a classic CWE-312 (Cleartext Storage of Sensitive Information): the ApiToken Doctrine entity persisted the raw token string returned by ApiTokenManager::generateToken() directly into the api_tokens table, and ApiTokenAuthenticator looked tokens up by exact-match on that plaintext column. The 2.3.17 fix introduces a dedicated ApiTokenHasher service that HMAC-SHA256-hashes tokens before persistence, a GeneratedApiToken DTO that surfaces the plaintext exactly once at creation, an ApiTokenRepository::findOneByPlaintext() method that hashes on lookup, and a Version20317 Doctrine migration that re-hashes existing rows so previously issued tokens keep working.
Know when Solidinvoice 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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Exploitation presupposes attacker-controlled database read access (modeled as PR:H), after which token reuse over the network is trivial (AV:N/AC:L) with full read/write API impact and no availability effect.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
SolidInvoice is an open-source invoicing platform. Prior to version 2.3.17, API tokens used to authenticate all REST API requests are stored as plaintext strings in the api_tokens database table. Any attacker who obtains read access to the database - through SQL injection, a leaked backup, a misconfigured replica, or insider access - immediately obtains all API credentials for every user with no further effort. This issue has been patched in version 2.3.17.
Executive ViewAI
SolidInvoice versions prior to 2.3.17 store API authentication tokens in plaintext within the application database, creating a high-risk path to account compromise if database access is breached. Any attacker with database read access-through SQL injection, stolen backups, database replication, or insider access-can harvest all API tokens to impersonate legitimate users and take over their accounts. Organizations should immediately patch to version 2.3.17 to implement token hashing and eliminate this credential exposure vector.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Solidinvoice
View allSolidInvoice version 2.3.7 is vulnerable to a stored cross-site scripting (XSS) issue in the Clients module. Rated mediu
SolidInvoice version 2.3.7 is vulnerable to a Stored Cross-Site Scripting (XSS) issue in the Tax Rates functionality. Ra
Stored cross-site scripting in SolidInvoice prior to 2.3.17 allows an authenticated administrator to upload a malicious
PHP object deserialization in SolidInvoice's DataGrid LiveComponent prior to version 3.0.1 allows authenticated low-priv
Invitation links in SolidInvoice prior to version 3.0.1 never expire because UserInvitation entities carry no expiry tim
Cross-user API history disclosure in SolidInvoice prior to version 3.0.1 allows any authenticated company member to read
A security flaw has been discovered in SolidInvoice up to 2.4.0. Rated medium severity (CVSS 5.1), this vulnerability is
A vulnerability was identified in SolidInvoice up to 2.4.0. Rated medium severity (CVSS 5.1), this vulnerability is remo
A vulnerability was determined in SolidInvoice up to 2.4.0. Rated medium severity (CVSS 5.1), this vulnerability is remo
A vulnerability was found in SolidInvoice up to 2.4.0. Rated medium severity (CVSS 5.1), this vulnerability is remotely
A vulnerability has been found in SolidInvoice up to 2.4.0. Rated medium severity (CVSS 5.1), this vulnerability is remo
SolidInvoice's REST API authenticator, in all versions prior to 3.0.1, silently accepts long-lived bearer tokens via a `
EUVD-2026-36301
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB