FOSSBilling
CVE-2026-53641
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or compromise admin credentials
-
DeliveryCraft malicious JavaScript in email HTML body
-
ExploitSend email to target client via admin panel
-
ExecutionClient views email history in portal
-
PersistUnescaped payload executes in client browser
-
ImpactExfiltrate session token or perform unauthorized client-side actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated admin account on the FOSSBilling instance (confirmed by CVSS PR:H). The attacker must have the ability to compose or modify email content containing HTML stored in the |
| Impact | The CVSS 4.0 score of 4.8 (Medium) accurately reflects a meaningful constraint: PR:H means a full admin account is required, making this an insider-threat or account-takeover-chained scenario rather than an opportunistic attack. AV:N and AC:L confirm the payload delivery to clients is trivially reliable once the admin has injected content, and UI:P captures the necessary client interaction. The scope change signals (SC:L/SI:L) indicate the XSS can affect the client's broader browser session - enabling session hijacking, credential phishing, or client-side data exfiltration beyond the FOSSBilling context. Without a CISA KEV listing, no known POC, and absent EPSS data, this is not a high-urgency internet-wide threat. However, for multi-tenant FOSSBilling instances where clients are businesses with sensitive billing data, a malicious or compromised admin could leverage this to silently compromise all clients who read email - a meaningful insider risk. The low availability impact (VA:N/SA:N) is consistent with XSS not typically causing service disruption. |
| Exploit ScenarioDerived | An attacker who controls or has compromised an admin account sends a crafted email to one or more clients with a JavaScript payload embedded in the HTML body - for example, a script that exfiltrates the client's session cookie to an attacker-controlled endpoint. When any targeted client opens their email history in the FOSSBilling web portal, the unescaped |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 06, 2026
Stored XSS in FOSSBilling 0.6.0-0.7.2 allows an authenticated admin to inject persistent JavaScript payloads into email HTML content that execute in client browsers when victims view their email history. The root cause is use of the |raw Twig filter to embed content_html directly into a JavaScript template literal, bypassing all output escaping. No active exploitation or public proof-of-concept has been identified at time of analysis; EPSS data was not provided in source intelligence.
RemediationAI
The primary fix is upgrading to FOSSBilling version 0.8.0, which resolves the unsafe |raw rendering of content_html in email history templates. Details are documented in the vendor advisory at https://github.com/FOSSBilling/FOSSBilling/security/advisories/GHSA-q6c8-6r72-35f7. If immediate upgrade is not feasible, three vendor-suggested compensating controls apply: first, restrict admin account access to the minimum number of trusted users and enforce strong authentication (MFA), since admin access is the prerequisite for injection - this reduces the attack surface directly; second, audit the database for existing suspicious payloads in content_html fields to detect prior compromise; third, monitor client accounts for anomalous activity such as unexpected session events or outbound requests that could indicate XSS execution. These controls do not eliminate the vulnerability and should be treated as temporary mitigations only.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FOSSBilling is a PHP-based open-source billing and client management platform. The vulnerability is rooted in CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS). Specifically, the content_html field of email records is interpolated into a JavaScript template literal on the client-facing email history view using Twig's |raw filter, which explicitly instructs the templating engine to skip HTML escaping. Because the injection point sits inside a JS template literal rather than raw HTML, even partial HTML-entity escaping would be insufficient - the payload is evaluated by the JavaScript engine rather than the HTML parser. CPE cpe:2.3:a:fossbilling:fossbilling:*:*:*:*:*:*:*:* covers all affected releases from 0.6.0 through 0.7.2.
Know when Fossbilling 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Admin privileges required to inject payload (PR:H); client must view email history (UI:R); XSS executes in client browser scope, a distinct security context (S:C); no availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
FOSSBilling is a free, open-source billing and client management system. Versions 0.6.0 through 0.7.2 have a stored cross-site scripting (XSS) vulnerability in the client-facing email history views of FOSSBilling. Email HTML content (content_html) is rendered into a JavaScript template literal using the |raw filter, bypassing all output escaping. An attacker with admin access can inject malicious JavaScript payloads into email content that execute in the browser of any client who views their email history. Version 0.8.0 contains a fix. Some workarounds are available. Restrict admin account access, audit email content in the database for suspicious payloads, and/or monitor client accounts for unusual activity.
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
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)CVE.org
More in Fossbilling
View allAuthorization bypass in FOSSBilling versions 0.5.4 through 0.7.x allows unauthenticated remote attackers to invoke privi
SQL Injection in GitHub repository fossbilling/fossbilling prior to 0.5.3. Rated critical severity (CVSS 9.8), this vuln
Server-side template injection in FOSSBilling versions prior to 0.8.0 allows authenticated administrators to execute arb
Unrestricted Upload of File with Dangerous Type in GitHub repository fossbilling/fossbilling prior to 0.5.3. Rated high
Missing Authorization in GitHub repository fossbilling/fossbilling prior to 0.5.0. Rated high severity (CVSS 7.5), this
Code Injection in GitHub repository fossbilling/fossbilling prior to 0.5.1. Rated high severity (CVSS 7.2), this vulnera
Business Logic Errors in GitHub repository fossbilling/fossbilling prior to 0.5.0. Rated medium severity (CVSS 6.5), thi
Cross-site Scripting (XSS) - Reflected in GitHub repository fossbilling/fossbilling prior to 0.5.4. Rated medium severit
Insufficient Session Expiration in GitHub repository fossbilling/fossbilling prior to 0.5.5. Rated critical severity (CV
Business Logic Errors in GitHub repository fossbilling/fossbilling prior to 0.5.0. Rated medium severity (CVSS 5.7), thi
Insufficient Granularity of Access Control in GitHub repository fossbilling/fossbilling prior to 0.5.0. Rated medium sev
Session Fixation in GitHub repository fossbilling/fossbilling prior to 0.5.1. Rated medium severity (CVSS 5.4), this vul
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB