CVE-2023-25154 Cross site scripting (XSS) of ActivityPub URI in misskey

High 7.1 Published Updated

Attackers can execute JavaScript in the victim's browser via malicious ActivityPub URIs in Misskey, requiring an upgrade to fix.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-25154?

CVE-2023-25154 is a high-severity cross-site scripting vulnerability in misskey-dev misskey, published on 22 Feb 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Misskey is an open source, decentralized social media platform. In versions prior to 13.5.0 the link to the instance to the sender that appears when viewing a user or note received through ActivityPub is not properly validated, so by inserting a URL with a javascript scheme an attacker may execute JavaScript code in the context of the recipient. This issue has been fixed in version 13.5.0. Users are advised to upgrade. Users unable to upgrade should not "view on remote" for untrusted instances.

Weakness: CWE-79

Which versions are affected by CVE-2023-25154?

It affects 1 product.

Products include Misskey Misskey.

How do I fix CVE-2023-25154?

No fix has been published for CVE-2023-25154 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2023-25154 being exploited?

There is no known exploitation of CVE-2023-25154 in the wild and no public exploit code.

Sources

Also known as GHSA-pfp5-r48x-fg25.

Is CVE-2023-25154 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free