Skip to main content
EPSS 0.4%top 62%

CVE-2025-8031: Vulnerability in Mozilla Firefox

0
Critical
VulnerabilityCVE-2025-8031cvecve-2025-8031
Published: 07/22/2025 (07/22/2025, 20:49:26 UTC)
Source: CVE Database V5
Vendor/Project: Mozilla
Product: Firefox

Description

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.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
mozilla/firefox
pkg:github/mozilla/firefox
Affected versions
<141

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/29/2026, 21:22:39 UTC

Technical Analysis

The vulnerability CVE-2025-8031 involves improper handling of URLs in CSP reports by Mozilla Firefox, where the username:password segment was not correctly removed. This could lead to leakage of HTTP Basic Authentication credentials through CSP reports. The issue affects Firefox versions prior to 141, Firefox ESR versions prior to 128.13 and 140.1, and Thunderbird versions prior to 141, 128.13, and 140.1. Mozilla released official security advisories (MFSA2025-56 and MFSA2025-58) confirming the fix in Firefox 141 and ESR 128.13. The CVSS v3.1 score is 9.8 (critical), reflecting network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.

Potential Impact

Successful exploitation of this vulnerability could result in the unintended disclosure of HTTP Basic Authentication credentials via CSP reports, potentially compromising user credentials. The CVSS score of 9.8 indicates critical severity with high impact on confidentiality, integrity, and availability. However, no known exploits in the wild have been reported to date.

Mitigation Recommendations

Mozilla has released official fixes for this vulnerability in Firefox 141, Firefox ESR 128.13, Firefox ESR 140.1, Thunderbird 141, Thunderbird 128.13, and Thunderbird 140.1. Users and administrators should update affected products to these fixed versions or later to remediate this issue. Patch status is confirmed by Mozilla advisories. No additional mitigation actions are required beyond applying these official updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
mozilla
Date Reserved
2025-07-22T10:13:55.392Z
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://www.mozilla.org/security/advisories/mfsa2025-56/","vendor":"Mozilla"},{"url":"https://www.mozilla.org/security/advisories/mfsa2025-58/","vendor":"Mozilla"},{"url":"https://www.mozilla.org/security/advisories/mfsa2025-59/","vendor":"Mozilla"},{"url":"https://www.mozilla.org/security/advisories/mfsa2025-61/","vendor":"Mozilla"},{"url":"https://www.mozilla.org/security/advisories/mfsa2025-62/","vendor":"Mozilla"},{"url":"https://www.mozilla.org/security/advisories/mfsa2025-63/","vendor":"Mozilla"}]

Threat ID: 687ffd50a915ff00f7fb5978

Added to database: 07/22/2025, 21:06:24 UTC

Last enriched: 07/29/2026, 21:22:39 UTC

Last updated: 09/10/2026, 19:36:52 UTC

Views: 168

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses