invenio-communities@4.1.1 vulnerabilities

InvenioRDM module for the communities feature.

Direct Vulnerabilities

Known vulnerabilities in the invenio-communities package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cross-site Scripting (XSS)

invenio-communities is a module that adds support for communities.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) within certain React components related to community members in the module. This can potentially allow the attacker to access personal information, such as cookies, of the visiting user.

Notes:

  1. This vulnerability enables a user to inject a script tag into the Affiliations field during the account registration process.

  2. The malicious script is executed when the user creates a new community and is listed as a public member.

  3. The script is triggered whenever any user visits the Members section of any community that includes the compromised user.

How to fix Cross-site Scripting (XSS)?

Upgrade invenio-communities to version 2.8.11, 4.2.2, 7.8.0 or higher.

[,2.8.11) [3.0.0,4.2.2) [5.0.0,7.8.0)