CVE-2025-8031
Incorrect URL stripping in CSP reports
Reported by mozilla · Published July 22, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| firefox-esr | Chainguard | 140.1-r0 |
| firefox | Amazon Linux | 140.1.0-1.amzn2023.0.2 |
| firefox | Chainguard | 128.13-r0 |
| thunderbird | Amazon Linux | 128.13.0-1.amzn2.0.1 |
| firefox | Wolfi | 128.13-r0 |
| firefox | mozilla | 141.0, 140.1.0, 128.13.0 |
| thunderbird | mozilla | 141.0, 140.1.0, 128.13.0 |
| Firefox ESR | Mozilla | 140.1, 128.13 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Firefox | 128.13, 140.1, 141 |
| Mozilla | Thunderbird | 128.13, 140.1, 141 |
| Mozilla | Firefox | 128.13, 141, 140.1 |
| Mozilla | Thunderbird | 140.1, 128.13, 141 |
| chainguard | firefox-esr | 0 |
| amazon:2023 | firefox | 0 |
| chainguard | firefox | 0 |
| Mozilla | Firefox ESR | *, unspecified |
| amazon:2 | thunderbird | 0 |
| wolfi | firefox | 0 |
Timeline
- Jul 22, 2025 CVE Published
- Jul 23, 2025 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (30 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Aug 10, 2026 Distribution Patch (23 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-8031
vulnetix vdb fixes CVE-2025-8031
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-8031/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart