{"answers":{"affected":"2 open source packages ship an affected version, including @tutao/tutanota-utils.","exploited":"There is no known exploitation of GHSA-24v3-254g-jv85 in the wild and no public exploit code.","fix":"Upgrade @tutao/tutanota-utils to 314.251111.0 or later.","what":"GHSA-24v3-254g-jv85 is a cross-site scripting vulnerability in @tutao/tutanota-utils, published on 19 Dec 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for GHSA-24v3-254g-jv85 and fix it if it is affected.\n\nWhat it is: GHSA-24v3-254g-jv85 is a cross-site scripting vulnerability in @tutao/tutanota-utils, published on 19 Dec 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of GHSA-24v3-254g-jv85 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @tutao/tutanota-utils (npm): affected all versions; fixed in 314.251111.0\n- @tutao/tutanota-utils (npm): affected all versions; fixed in 314.251111.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-24v3-254g-jv85/ (Markdown: https://insights.sbomify.com/GHSA-24v3-254g-jv85/index.md)","id":"GHSA-24v3-254g-jv85","markdown":"https://insights.sbomify.com/GHSA-24v3-254g-jv85/index.md","name":"GHSA-24v3-254g-jv85","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["security_bypass","other"],"network_reachable":"yes","non_default_config":false,"product_category":"Tuta Mail client","requires_auth":"none","summary":"Attackers can inject DOM attributes and CSS via crafted contacts, overriding link targets and button appearance, potentially leading to phishing or UI spoofing.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### 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.","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Tuta Mail has DOM attribute and CSS injection in its Contact Viewer feature","id":"GHSA-24v3-254g-jv85","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2025"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"npm","fixed":["314.251111.0"],"introduced":["0"],"last_affected":[],"package":"@tutao/tutanota-utils","purl":null,"source":"GHSA-24v3-254g-jv85"},{"ecosystem":"npm","fixed":["314.251111.0"],"introduced":["0"],"last_affected":[],"package":"@tutao/tutanota-utils","purl":"pkg:npm/%40tutao/tutanota-utils","source":"GHSA-24v3-254g-jv85"}],"products":null,"published":"2025-12-19","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Attackers can inject DOM attributes and CSS via crafted contacts, overriding link targets and button appearance, potentially leading to phishing or UI spoofing.","url":"https://insights.sbomify.com/GHSA-24v3-254g-jv85/"}