CVE-2025-8031: Incorrect URL stripping in CSP reports
The `username:password` part was not correctly stripped from URLs in CSP reports potentially leaking HTTP Basic Authentication credentials. This vulnerability was fixed in Firefox 141, Firefox ESR 128.13, Firefox ESR 140.1, Thunderbird 141, Thunderbird 128.13, and Thunderbird 140.1.
Security readout for executives and security teams
Plain-English summary
Firefox and Thunderbird could place credentials embedded in a URL into Content Security Policy reports instead of removing them. Anyone able to receive or access those reports might obtain the exposed HTTP Basic Authentication credentials. The supplied evidence does not indicate broader password theft.
Executive priority
Treat this as an urgent patching and credential-review issue, particularly where Basic Authentication or CSP reporting is used. Prioritize exposed endpoints and shared reporting systems. Escalate immediately to credential rotation if embedded credentials are found in reports or logs.
Technical view
Affected builds failed to strip URL userinfo—the username:password component—before serializing URLs into CSP reports. Mozilla fixed the issue in Firefox 141, ESR 128.13 and 140.1, and corresponding Thunderbird releases. The source establishes credential disclosure; it does not explain the CVSS vector’s claimed integrity and availability impacts.
Likely exposure
Exposure is most likely on corresponding branches below the fixed releases where credential-bearing URLs and CSP reporting are both used. Risk increases when reports are transmitted to third parties, centrally stored, broadly accessible, or retained in logs. Environment-specific prevalence is unknown.
Exploitation context
The supplied bundle reports no CISA KEV listing and provides no evidence of active exploitation. Abuse would depend on a CSP report containing a URL with embedded Basic Authentication credentials and an unauthorized party gaining access to that report or its storage.
Researcher notes
The vulnerability concerns incorrect sanitization of CSP report URLs. Fixed-version evidence is clear, but the bundle does not identify vulnerable starting versions, exploitation in the wild, required CSP directives, or precise report-access conditions. Validate those details against Mozilla guidance before defining exact detection coverage.
Mitigation direction
Upgrade Firefox to 141, ESR 128.13 or ESR 140.1, as appropriate.
Upgrade Thunderbird to 141, 128.13 or 140.1, as appropriate.
Remove credentials from URLs and adopt safer authentication handling where feasible.
Restrict access to CSP report endpoints, stored reports, and related logs.
Rotate credentials if review identifies possible disclosure through CSP reports.
Validation and detection
Inventory Firefox and Thunderbird versions across endpoints and managed images.
Confirm each installation meets the fixed version for its release branch.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-276: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
2ADP providers
9Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-276 · source CWE mapping
Incorrect Default Permissions
Incorrect Default Permissions represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.