Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1oang2LWY2NDctbXZmOc4AA8_I

Invenio-Communities has a Cross-Site Scripting (XSS) vulnerability in React components

Impact

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.

Patches

The problem has been patched in v7.8.0. Patches also have been backported in versions v4.2.2 and v2.8.11.

Credits

Thanks to Twitter.com/AliGoodLuck11 for reporting the vulnerability with a detailed description on how to reproduce it!

For more information

If you have any questions or comments about this advisory:

Email us at [email protected]

Permalink: https://github.com/advisories/GHSA-hjx6-f647-mvf9
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1oang2LWY2NDctbXZmOc4AA8_I
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 5 months ago
Updated: 5 months ago


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

Identifiers: GHSA-hjx6-f647-mvf9
References: Repository: https://github.com/inveniosoftware/invenio-communities
Blast Radius: 9.3

Affected Packages

pypi:invenio-communities
Dependent packages: 5
Dependent repositories: 30
Downloads: 19,689 last month
Affected Version Ranges: < 2.8.11, >= 3.0.0, < 4.2.2, >= 5.0.0, < 7.8.0
Fixed in: 2.8.11, 4.2.2, 7.8.0
All affected versions: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.3.0, 2.3.1, 2.3.2, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.8.5, 2.8.6, 2.8.7, 2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