CVE-2022-31136 Cross-site Scripting in BookWyrm
Unprivileged users can inject scripts into profiles and statuses, enabling cross-site scripting attacks against other users.
- 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-2022-31136?
CVE-2022-31136 is a medium-severity cross-site scripting vulnerability in bookwyrm-social bookwyrm, published on 7 Jul 2022. 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
Bookwyrm is an open source social reading and reviewing program. Versions of Bookwyrm prior to 0.4.1 did not properly sanitize html being rendered to users. Unprivileged users are able to inject scripts into user profiles, book descriptions, and statuses. These vulnerabilities may be exploited as cross site scripting attacks on users viewing these fields. Users are advised to upgrade to version 0.4.1. There are no known workarounds for this issue.
Weakness: CWE-79
Which versions are affected by CVE-2022-31136?
It affects 1 product.
Products include Joinbookwyrm Bookwyrm.
How do I fix CVE-2022-31136?
No fix has been published for CVE-2022-31136 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-2022-31136 being exploited?
There is no known exploitation of CVE-2022-31136 in the wild and no public exploit code.
Other vulnerabilities in bookwyrm-social bookwyrm
Sources
Also known as GHSA-2cfh-v7rf-pxfp.