{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-46340","published":"2025-05-05T19:15:56.627000Z","last_modified":"2026-06-17T09:26:15.943000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-20","CWE-116"],"cpes":[{"criteria":"cpe:2.3:a:misskey:misskey:*:*:*:*:*:*:*:*","part":"a","vendor":"misskey","product":"misskey","version_start_including":"12.0.0","version_end_excluding":"2025.4.1"}],"cpes_truncated":false,"vendors":["misskey"],"products":["misskey/misskey"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2025-46340/","html_en":"/en/cve/CVE-2025-46340/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-46340","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-46340"},"untrusted":{"vendor_name":"Misskey","product_name":"Misskey","desc_en":"Misskey is an open source, federated social media platform. Starting in version 12.0.0 and prior to version 2025.4.1, due to an oversight in the validation performed in `UrlPreviewService` and `MkUrlPreview`, it is possible for an attacker to inject arbitrary CSS into the `MkUrlPreview` component. `UrlPreviewService.wrap` falls back to returning the original URL if it's using a protocol that is likely to not be understood by Misskey, IE something other than `http` or `https`. This both can de-anonymize users and_allow further attacks in the client. Additionally, `MkUrlPreview` doesn't escape CSS when applying a `background-image` property, allowing an attacker to craft a URL that applies arbitrary styles to the preview element. Theoretically, an attacker can craft a CSS injection payload to create a fake error message that can deceive the user into giving away their credentials or similar sensitive information. Version 2025.4.1 contains a patch for the issue.","affected":[{"untrusted_vendor":"misskey-dev","untrusted_product":"misskey","versions":[]}],"references":[{"url":"https://github.com/misskey-dev/misskey/commit/d10fdfe9738b17a9d81037c031b40a2cc4cb8038","tags":["Patch"]},{"url":"https://github.com/misskey-dev/misskey/security/advisories/GHSA-3p2w-xmv5-jm95","tags":["Vendor Advisory"]}]}}