Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. invenio-communities
  4. ›
  5. GHSA-hjx6-f647-mvf9

GHSA-hjx6-f647-mvf9: Invenio-Communities has a Cross-Site Scripting (XSS) vulnerability in React components

June 12, 2024

We have identified a Cross-Site Scripting (XSS) vulnerability within certain React components related to community members in the Invenio-Communities module. This vulnerability enables a user to inject a script tag into the Affiliations field during the account registration process. The malicious script is executed when the user creates a new community and is listed as a public member.

The script is triggered whenever any user visits the Members section of any community that includes the compromised user. This can potentially allow the attacker to access personal information, such as cookies, of the visiting user.

References

  • github.com/advisories/GHSA-hjx6-f647-mvf9
  • github.com/inveniosoftware/invenio-communities
  • github.com/inveniosoftware/invenio-communities/commit/4424dd5112818992b82ae42d4c4f89089502b35f
  • github.com/inveniosoftware/invenio-communities/commit/6a47db9404c51134634b3905f62f612b4a976698
  • github.com/inveniosoftware/invenio-communities/commit/817b8208f5ce262f45eab32832d90b80dc7d3fce
  • github.com/inveniosoftware/invenio-communities/commit/b89442c9d57421a88dd0aa89a404ba89d1a22cac
  • github.com/inveniosoftware/invenio-communities/security/advisories/GHSA-hjx6-f647-mvf9

Code Behaviors & Features

Detect and mitigate GHSA-hjx6-f647-mvf9 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.8.11, all versions starting from 3.0.0 before 4.2.2, all versions starting from 5.0.0 before 7.8.0

Fixed versions

  • 7.8.0
  • 4.2.2
  • 2.8.11

Solution

Upgrade to versions 2.8.11, 4.2.2, 7.8.0 or above.

Impact 6.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/invenio-communities/GHSA-hjx6-f647-mvf9.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:20 +0000.