invenio-communities
Affected
- introduced
5.0.0, fixed7.8.0(ecosystem)
Fixed versions
7.8.0
Fix
- Fixed version
7.8.0pip install --upgrade invenio-communities==7.8.0
Advisory
Also known as: None
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]](mailto:[email protected])
Medium Basis: The source's own band: MODERATE
5.0.0, fixed 7.8.0 (ecosystem)7.8.0
7.8.0pip install --upgrade invenio-communities==7.8.03.0.0, fixed 4.2.2 (ecosystem)4.2.2
4.2.2pip install --upgrade invenio-communities==4.2.20, fixed 2.8.11 (ecosystem)2.8.11
2.8.11pip install --upgrade invenio-communities==2.8.11Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0