NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

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

mediumCVSS 3.1 6.3

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.

Published Jun 12, 2024

Affected packages

invenio-communities

Ecosystem
PyPI
Affected
>= 5.0.0, < 7.8.0
Fixed in
7.8.0
Check
pip show invenio-communities

invenio-communities

Ecosystem
PyPI
Affected
>= 3.0.0, < 4.2.2
Fixed in
4.2.2
Check
pip show invenio-communities

invenio-communities

Ecosystem
PyPI
Affected
< 2.8.11
Fixed in
2.8.11
Check
pip show invenio-communities

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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])

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology