Skip to content

Commit 8c56406

Browse files
1 parent 8bf9927 commit 8c56406

File tree

1 file changed

+80
-0
lines changed

1 file changed

+80
-0
lines changed
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-24v3-254g-jv85",
4+
"modified": "2025-12-19T21:32:35Z",
5+
"published": "2025-12-19T21:32:35Z",
6+
"aliases": [],
7+
"summary": "Tuta Mail has DOM attribute and CSS injection in its Contact Viewer feature",
8+
"details": "### Impact\nUsers importing contacts from untrusted sources.\n\nSpecifically crafted contact data can lead to some of DOM modifications for the link button next to the field e.g. the link address can be overriden. CSS can be manipulated to give the button arbitrary look and change it's size so that any click on the screen would lead to the specified URL. Modifying event listeners does *not* seem to be possible so no JS can be executed (which would also be prevented by CSP).\n\n## Technical details\nThe data is included as part of the [mithril's hyperscript selector](https://mithril.js.org/hyperscript.html#css-selectors). It is possible to define a value like `][href=https://ddg.gg][style=position:fixed;width:150vw;height:200vh` which will be included in the selector passed to Mithril and will be interpreted as part of the code.\n\n### Patches\nhttps://github.com/tutao/tutanota/commit/e28345f5f78f628f9d5c04e785f79543f01dca8b\n\n### Workarounds\nDo not open contact viewer on unpatched versions. If the contact was opened, close the app or use keyboard shortcuts to switch to another part of the app.",
9+
"severity": [
10+
{
11+
"type": "CVSS_V4",
12+
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
13+
}
14+
],
15+
"affected": [
16+
{
17+
"package": {
18+
"ecosystem": "npm",
19+
"name": "@tutao/tutanota-utils"
20+
},
21+
"ranges": [
22+
{
23+
"type": "ECOSYSTEM",
24+
"events": [
25+
{
26+
"introduced": "0"
27+
},
28+
{
29+
"fixed": "314.251111.0"
30+
}
31+
]
32+
}
33+
]
34+
}
35+
],
36+
"references": [
37+
{
38+
"type": "WEB",
39+
"url": "https://github.com/tutao/tutanota/security/advisories/GHSA-24v3-254g-jv85"
40+
},
41+
{
42+
"type": "WEB",
43+
"url": "https://github.com/tutao/tutanota/commit/e28345f5f78f628f9d5c04e785f79543f01dca8b"
44+
},
45+
{
46+
"type": "PACKAGE",
47+
"url": "https://github.com/tutao/tutanota"
48+
},
49+
{
50+
"type": "WEB",
51+
"url": "https://github.com/tutao/tutanota/blob/452700a96d490646550ad2a02229973590291faf/src/mail-app/contacts/view/ContactViewer.ts#L326"
52+
},
53+
{
54+
"type": "WEB",
55+
"url": "https://github.com/tutao/tutanota/blob/452700a96d490646550ad2a02229973590291faf/src/mail-app/contacts/view/ContactViewer.ts#L341"
56+
},
57+
{
58+
"type": "WEB",
59+
"url": "https://github.com/tutao/tutanota/blob/452700a96d490646550ad2a02229973590291faf/src/mail-app/contacts/view/ContactViewer.ts#L356"
60+
},
61+
{
62+
"type": "WEB",
63+
"url": "https://github.com/tutao/tutanota/blob/452700a96d490646550ad2a02229973590291faf/src/mail-app/contacts/view/ContactViewer.ts#L391"
64+
},
65+
{
66+
"type": "WEB",
67+
"url": "https://github.com/tutao/tutanota/blob/452700a96d490646550ad2a02229973590291faf/src/mail-app/contacts/view/ContactViewer.ts#L415"
68+
}
69+
],
70+
"database_specific": {
71+
"cwe_ids": [
72+
"CWE-1021",
73+
"CWE-79"
74+
],
75+
"severity": "LOW",
76+
"github_reviewed": true,
77+
"github_reviewed_at": "2025-12-19T21:32:35Z",
78+
"nvd_published_at": null
79+
}
80+
}

0 commit comments

Comments
 (0)