Lucene search

K
githubGitHub Advisory DatabaseGHSA-HJX6-F647-MVF9
HistoryJun 12, 2024 - 7:43 p.m.

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

2024-06-1219:43:04
CWE-79
GitHub Advisory Database
github.com
2
cross-site scripting
react components
invenio-communities
affiliations field
account registration
patch
backport
twitter
aligoodluck11
personal information
cookies
advisory
email.

5.8 Medium

AI Score

Confidence

High

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]

Affected configurations

Vulners
Node
inveniocommunitiesRange<2.8.11
OR
inveniocommunitiesRange3.0.0
OR
inveniocommunitiesRange<4.2.2
OR
inveniocommunitiesRange5.0.0
OR
inveniocommunitiesRange<7.8.0

5.8 Medium

AI Score

Confidence

High