CVE-2025-46340
CVE-2025-46340 is a high-severity vulnerability in Misskey with a CVSS 3.x base score of 7.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-20.
Key facts
- Severity: High (CVSS 3.x base score 7.2)
- EPSS exploit prediction: 0% (12th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-13505
- Weakness: CWE-20
- Affected product: Misskey
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2025-46340?
- 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.
- How severe is CVE-2025-46340?
- CVE-2025-46340 has a CVSS 3.x base score of 7.2, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2025-46340 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (12th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-46340?
- CVE-2025-46340 affects Misskey. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-46340?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-46340 have an EU (EUVD) identifier?
- Yes. CVE-2025-46340 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-13505.
- When was CVE-2025-46340 published?
- CVE-2025-46340 was published on 2025-05-05 and last updated on 2026-06-17.
References
- https://github.com/misskey-dev/misskey/commit/d10fdfe9738b17a9d81037c031b40a2cc4cb8038
- https://github.com/misskey-dev/misskey/security/advisories/GHSA-3p2w-xmv5-jm95
Affected products (1)
- cpe:2.3:a:misskey:misskey:*:*:*:*:*:*:*:*
More vulnerabilities in Misskey
- CVE-2025-25306 — Critical (CVSS 9.3): Misskey is an open source, federated social media platform. The patch for CVE-2024-52591 did not sufficiently validate…
- CVE-2024-52591 — Critical (CVSS 9.3): Misskey is an open source, federated social media platform. In affected versions missing validation in…
- CVE-2023-49079 — Critical (CVSS 9.3): Misskey is an open source, decentralized social media platform. Misskey's missing signature validation allows arbitrary…
- CVE-2023-52139 — Critical (CVSS 9.0): Misskey is an open source, decentralized social media platform. Third-party applications may be able to access some…
- CVE-2023-24812 — High (CVSS 8.8): Misskey is an open source, decentralized social media platform. In versions prior to 13.3.3 SQL injection is possible…
- CVE-2025-24897 — High (CVSS 8.2): Misskey is an open source, federated social media platform. Starting in version 12.109.0 and prior to version…
Other CWE-20 (Improper Input Validation) vulnerabilities
- CVE-2026-48316 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48281 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48277 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48055 — Critical (CVSS 10.0): Streambert is a cross-platform Electron Desktop App to stream and download any video media. In versions 2.4.0 and…
- CVE-2026-34910 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit an Improper Input Validation vulnerability found in UniFi OS…
- CVE-2026-33587 — Critical (CVSS 10.0): Lack of user input sanitisation in Open Notebook v1.8.3 allows the application user to execute Python code (and…
Browse all CWE-20 (Improper Input Validation) vulnerabilities →