Security readout for executives and security teams
Plain-English summary
In Matrix React SDK versions before 3.21.0, a file being uploaded could execute embedded script in its local preview, but only after the uploader performs several actions to open the preview in a separate tab. The sources say it affects only that local user during upload and cannot be exploited remotely or by other users.
Executive priority
Treat this as a contained medium-priority client-side issue. It deserves upgrade tracking, but the cited sources describe local-only impact, high user interaction, and no remote exploitation path from other users.
Technical view
The issue is CWE-74 in the upload local preview path: embedded script content in an uploaded file could run in the preview context before version 3.21.0. CVSS 3.1 is 4.2 with local attack vector, high complexity, low privileges, required user interaction, and low confidentiality, integrity, and availability impact.
Likely exposure
Exposure is limited to applications embedding matrix-org matrix-react-sdk below 3.21.0 and providing file upload preview behavior. SaaS or self-hosted Matrix clients built on newer SDKs are not indicated as affected by the provided sources.
Exploitation context
The provided sources do not indicate active exploitation, and the CVE is not listed as KEV in the bundle. Abuse requires local user involvement during upload and opening the local preview in a separate tab; it is not described as remotely triggerable by another user.
Researcher notes
Do not broaden impact beyond matrix-react-sdk before 3.21.0 based on the provided evidence. The advisory’s key constraints are local preview, several user interactions, separate-tab preview, and impact limited to the uploading user.
Mitigation direction
- Upgrade matrix-react-sdk to version 3.21.0 or later.
- Identify web clients embedding matrix-react-sdk and confirm their packaged SDK version.
- If immediate upgrade is unavailable, check vendor guidance for supported temporary controls.
- Prioritize remediation for environments allowing broad file uploads by less-trusted users.
Validation and detection
- Check dependency manifests or lockfiles for matrix-react-sdk versions below 3.21.0.
- Confirm deployed client bundles were rebuilt after the SDK upgrade.
- Review release or advisory notes for GHSA-8796-gc9j-63rv coverage.
- Verify file upload preview behavior is not using an affected SDK build.
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-74: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. 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 lookupFile access behavior lookup
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2021-32622 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
- 4.2 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:L/AC:H/PR:L/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:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L0.83.4Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
4.2MediumVector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-8796-gc9j-63rvCVE reference · x_refsource_CONFIRM
- https://github.com/matrix-org/matrix-react-sdk/pull/5981CVE 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 Special Elements in Output Used by a Downstream Component ('Injection')
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
