Roundcube Webmail before 1.5.12 and 1.6.x before 1.6.12 is prone to a stored Cross-Site Scripting (XSS) vulnerability via the animate tag in an SVG document. The rcube_washtml sanitizer blocks animate elements targeting href but fails to normalize namespace-prefixed attribute names such as xlink:href, allowing a javascript: payload in an HTML email to reach the victim's browser.
id: CVE-2025-68461
info:
name: Roundcube Webmail < 1.5.12 / 1.6.x < 1.6.12 - Cross-Site Scripting
author: DhiyaneshDk
severity: medium
description: |
Roundcube Webmail before 1.5.12 and 1.6.x before 1.6.12 is prone to a stored Cross-Site Scripting (XSS) vulnerability via the animate tag in an SVG document. The rcube_washtml sanitizer blocks animate elements targeting href but fails to normalize namespace-prefixed attribute names such as xlink:href, allowing a javascript: payload in an HTML email to reach the victim's browser.
impact: |
A remote attacker can send a crafted HTML email that executes arbitrary JavaScript in the victim's webmail session, enabling session hijacking, mailbox access, and actions on behalf of the user.
remediation: |
Upgrade Roundcube Webmail to 1.5.12, 1.6.12, or later.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2025-68461
- https://roundcube.net/news/2025/12/13/security-updates-1.6.12-and-1.5.12
- https://github.com/roundcube/roundcubemail/commit/bfa032631c36b900e7444dfa278340b33cbf7cdb
- https://blog.ostorlab.co/cve-2025-68461-xss-roundcube.html
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2025-68461
epss-score: 0.05587
epss-percentile: 0.93669
cwe-id: CWE-79
metadata:
verified: true
max-request: 1
vendor: roundcube
product: webmail
shodan-query: http.component:"roundcube"
fofa-query: "roundcube_sessid"
tags: cve,cve2025,roundcube,webmail,xss,kev,vkev,vd
http:
- method: GET
path:
- "{{BaseURL}}"
host-redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body
words:
- "rcmail"
- '"rcversion":'
condition: and
- type: dsl
dsl:
- to_number(rcversion) < 10512 || (to_number(rcversion) >= 10600 && to_number(rcversion) < 10612)
extractors:
- type: regex
name: rcversion
part: body
group: 1
regex:
- '"rcversion":(\d+)'
# digest: 4a0a0047304502207e0acb53b93bbabaae6df57114b725c43d29dead1f717a5edff7c573e013b95d022100a4fe773944f3bc29499f3077089028bc5ae9d5d214627fe92c04f858db691f5d:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.