cve.bz

CVE-2025-5271 mozilla firefox: Improper Encoding or Escaping of Output

6.5 mediumEPSS 0.3%Fix available

Medium (6.5) in mozilla firefox. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
Previewing a response in Devtools ignored CSP headers, which could have allowed content injection attacks. This vulnerability was fixed in Firefox 139 and Thunderbird 139.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 24th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-05-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-116 Improper Encoding or Escaping of Output
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-5271 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-5271?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-5271?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-5271 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2025-5271

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2025-5271](https://cve.bz/cve/badge/CVE-2025-5271.svg)](https://cve.bz/cve/CVE-2025-5271)

HTML:

<a href="https://cve.bz/cve/CVE-2025-5271"><img src="https://cve.bz/cve/badge/CVE-2025-5271.svg" alt="CVE-2025-5271"></a>

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Mozilla Firefox139
Mozilla Thunderbird139

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTSmozjs38, mozjs52no fix listedUBUNTU-CVE-2025-5271
Ubuntu20.04:LTSmozjs52, mozjs68no fix listedUBUNTU-CVE-2025-5271
Ubuntu22.04:LTSmozjs78, mozjs91, mozjs102no fix listedUBUNTU-CVE-2025-5271
Ubuntu22.04:LTSthunderbird1:140.7.1+build1-0ubuntu0.22.04.1UBUNTU-CVE-2025-5271
Ubuntu24.04:LTSmozjs102, mozjs115no fix listedUBUNTU-CVE-2025-5271
openSUSETumbleweedMozillaFirefox139.0.1-1.1openSUSE-SU-2025:15196-1
openSUSETumbleweedfirefox-esr153.0-1.1openSUSE-SU-2026:11373-1

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat Product Security rates the severity of this flaw as determined by the Mozilla Foundation Security Advisory.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10firefoxNot affected
Red Hat Enterprise Linux 10rhel10/firefox-flatpakNot affected
Red Hat Enterprise Linux 6firefoxOut of support scope
Red Hat Enterprise Linux 7firefoxNot affected
Red Hat Enterprise Linux 8firefoxNot affected
Red Hat Enterprise Linux 9firefoxNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-5271.

Attack patterns (CAPEC)

  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON