CVE-2023-5057 ActivityPub for WordPress < 1.0.0 - Contributor+ Stored XSS
Contributors can inject malicious scripts via unescaped metadata in ActivityPub mentions, leading to stored XSS attacks.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-5057?
CVE-2023-5057 is a medium-severity cross-site scripting vulnerability in Unknown ActivityPub, published on 16 Oct 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
The ActivityPub WordPress plugin before 1.0.0 does not escape user metadata before outputting them in mentions, which could allow users with a role of Contributor and above to perform Stored XSS attacks
Which versions are affected by CVE-2023-5057?
It affects 1 product.
Products include Automattic Activitypub.
How do I fix CVE-2023-5057?
No fix has been published for CVE-2023-5057 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-5057 being exploited?
There is no known exploitation of CVE-2023-5057 in the wild and no public exploit code.
Other vulnerabilities in Unknown ActivityPub
- CVE-2026-4338 ActivityPub Routing < 8.0.2 - Unauthenticated Drafts/Scheduled/Pending Posts Disclosure
- CVE-2023-3746 ActivityPub for WordPress < 1.0.1 - Contributor+ Stored XSS
- CVE-2023-3706 ActivityPub for WordPress < 1.0.0 - Subscriber+ Arbitrary Post Title Disclosure
- CVE-2023-3707 ActivityPub for WordPress < 1.0.0 - Subscriber+ Arbitrary Post Content Disclosure
Sources
Also known as GHSA-rcgg-pr6j-3pmh.