Security readout for executives and security teams
Plain-English summary
BookWyrm before 0.4.1 allowed untrusted HTML in profiles, book descriptions, and statuses. An attacker could make script run when another user views crafted content. Business impact is moderate, mainly affecting organizations running public or community BookWyrm instances.
Executive priority
Treat as a moderate-priority fix for any exposed BookWyrm instance. It is not cited as actively exploited, but public community features increase the chance of user exposure. Upgrade scheduling should be prompt, especially for open-registration deployments.
Technical view
CVE-2022-31136 is CWE-79 cross-site scripting from insufficient sanitization of rendered HTML. The advisory says unprivileged users can inject scripts into user profiles, book descriptions, and statuses. CVSS 3.1 is 6.3, network reachable, low complexity, user interaction required, with low confidentiality, integrity, and availability impact.
Likely exposure
Exposure is limited to BookWyrm deployments running versions before 0.4.1, especially instances where untrusted users can create visible profile, book, or status content. The source bundle does not identify affected forks, managed services, or downstream distributions.
Exploitation context
Provided sources do not show KEV listing or active exploitation. Practical abuse requires a victim to view attacker-controlled content rendered by the vulnerable instance. The issue matters for public communities because unprivileged content authors can reach other users through normal site features.
Researcher notes
The sources name three injection surfaces: user profiles, book descriptions, and statuses. The patch reference should be reviewed for sanitizer changes and regression coverage. Evidence is insufficient to claim exploit-in-the-wild activity, affected hosted services, or a workaround.
Mitigation direction
- Upgrade BookWyrm to version 0.4.1 or later.
- If upgrade is delayed, review vendor guidance; sources state no known workaround.
- Moderate or remove suspicious user profiles, book descriptions, and statuses.
- Prioritize instances with open registration or broad community posting.
Validation and detection
- Inventory all BookWyrm instances and confirm their running version.
- Check whether any instance runs a version before 0.4.1.
- Review visible user-generated fields for suspicious embedded HTML or script-like content.
- Confirm the upgrade path against the GitHub advisory and patch commit.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2022-31136 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 6.3 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L2.83.4Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
6.3MediumVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/bookwyrm-social/bookwyrm/security/advisories/GHSA-2cfh-v7rf-pxfpCVE reference · x_refsource_CONFIRM
- https://github.com/bookwyrm-social/bookwyrm/commit/fe33fdcf564a6a5667aef75d5456bea08feab50dCVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
