Skip to main content

FOSSBilling CVE-2026-53641

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-06 GitHub_M
4.8
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain or compromise admin credentials
  2. Delivery
    Craft malicious JavaScript in email HTML body
  3. Exploit
    Send email to target client via admin panel
  4. Execution
    Client views email history in portal
  5. Persist
    Unescaped payload executes in client browser
  6. Impact
    Exfiltrate 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 content_html field. Client-side JavaScript execution is triggered only when a targeted client navigates to their email history view in the portal (CVSS UI:P). Exploitation is limited to FOSSBilling versions 0.6.0 through 0.7.2; unauthenticated users and non-admin authenticated users cannot inject payloads. The attack is also bounded to clients who actively view their email history - clients who never access that view are not affected.

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 content_html is injected into a JavaScript template literal and executed immediately in the browser, enabling session hijacking without any further interaction. No public proof-of-concept has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Vendor (GitHub_M) PRIMARY 4.8 MEDIUM
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
vuln.today AI 4.8 MEDIUM

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.

3.1 AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
niche open-source billing platform, limited enterprise footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment CIRCL 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

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

cpe:2.3:a:fossbilling:fossbilling:*:*:*:*:*:*:*:*
CVE-2026-27604 CRITICAL POC
10.0 Jun 23

Authorization bypass in FOSSBilling versions 0.5.4 through 0.7.x allows unauthenticated remote attackers to invoke privi

CVE-2023-3490 CRITICAL POC
9.8 Jun 30

SQL Injection in GitHub repository fossbilling/fossbilling prior to 0.5.3. Rated critical severity (CVSS 9.8), this vuln

CVE-2026-28496 CRITICAL POC
9.4 Jun 23

Server-side template injection in FOSSBilling versions prior to 0.8.0 allows authenticated administrators to execute arb

CVE-2023-3491 HIGH POC
8.8 Jun 30

Unrestricted Upload of File with Dangerous Type in GitHub repository fossbilling/fossbilling prior to 0.5.3. Rated high

CVE-2023-3230 HIGH POC
7.5 Jun 14

Missing Authorization in GitHub repository fossbilling/fossbilling prior to 0.5.0. Rated high severity (CVSS 7.5), this

CVE-2023-3393 HIGH POC
7.2 Jun 23

Code Injection in GitHub repository fossbilling/fossbilling prior to 0.5.1. Rated high severity (CVSS 7.2), this vulnera

CVE-2023-3229 MEDIUM POC
6.5 Jun 14

Business Logic Errors in GitHub repository fossbilling/fossbilling prior to 0.5.0. Rated medium severity (CVSS 6.5), thi

CVE-2023-3521 MEDIUM POC
6.1 Jul 06

Cross-site Scripting (XSS) - Reflected in GitHub repository fossbilling/fossbilling prior to 0.5.4. Rated medium severit

CVE-2023-4005 CRITICAL
9.8 Jul 31

Insufficient Session Expiration in GitHub repository fossbilling/fossbilling prior to 0.5.5. Rated critical severity (CV

CVE-2023-3228 MEDIUM POC
5.7 Jun 14

Business Logic Errors in GitHub repository fossbilling/fossbilling prior to 0.5.0. Rated medium severity (CVSS 5.7), thi

CVE-2023-3227 MEDIUM POC
5.7 Jun 14

Insufficient Granularity of Access Control in GitHub repository fossbilling/fossbilling prior to 0.5.0. Rated medium sev

CVE-2023-3394 MEDIUM POC
5.4 Jun 23

Session Fixation in GitHub repository fossbilling/fossbilling prior to 0.5.1. Rated medium severity (CVSS 5.4), this vul

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