6.3medium
Cross-site Scripting in BookWyrm
- Severity
- 6.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.61% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| bookwyrm-social bookwyrm | < 0.4.1 | CVE List |
| joinbookwyrm bookwyrm | before 0.4.1 | NVD |
All scores
| GitHub_M | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Bookwyrm es un programa de lectura y revisión social de código abierto. Las versiones de Bookwyrm anteriores a 0.4.1, no saneaban apropiadamente el html que era presentado a usuarios. Los usuarios no privilegiados pueden inyectar scripts en los perfiles de los usuarios, las descripciones de los libros y los estados. Estas vulnerabilidades pueden ser explotadas como ataques de cross site scripting en usuarios visualizando estos campos. Es recomendado a usuarios actualizar a versión 0.4.1. No se presentan mitigaciones conocidas para este problema
References
| https://github.com/bookwyrm-social/bookwyrm/security/advisories/GHSA-2cfh-v7rf-pxfp | third-party-advisory | |
| https://github.com/bookwyrm-social/bookwyrm/commit/fe33fdcf564a6a5667aef75d5456bea08feab50d | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31136 changed 2025-04-23 | CVE Terms of Use |
| NVD | CVE-2022-31136 changed 2026-06-17 | Public domain |