GHSA-hjx6-f647-mvf9
Invenio-Communities has a Cross-Site Scripting (XSS) vulnerability in React components
GHSA-hjx6-f647-mvf9 is a medium vulnerability (CVSS 6.3) in invenio-communities, published June 12, 2024. No source lists public exploit code. Fixed in invenio-communities 7.8.0.
- Severity
- 6.3 MediumCVSS 3.1, GitHub Advisories
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
7.8.0invenio-communities +5 more
Description
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 info@inveniosoftware.org
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Affected packages
| Package | Affected | Fixed |
|---|---|---|
invenio-communitiesPyPI | 5.0.0 up to 7.8.0 | 7.8.0 |
invenio-communitiesPyPI | 3.0.0 up to 4.2.2 | 4.2.2 |
invenio-communitiesPyPI | before 2.8.11 | 2.8.11 |
invenio-communitiesPyPI | 5.0.0 up to 7.8.0, plus listed versions 5.0.15.1.05.2.05.3.05.4.0 Show 30 moreShow less5.5.06.0.06.1.06.1.16.2.06.2.16.3.06.4.06.5.06.6.06.6.16.7.07.0.07.0.17.1.07.1.17.1.27.2.07.2.17.2.27.2.37.3.07.4.07.5.07.6.07.7.07.7.17.7.27.7.37.7.4 | 7.8.0 |
invenio-communitiesPyPI | 3.0.0 up to 4.2.2, plus listed versions 3.0.13.0.23.1.03.2.03.2.1 Show 18 moreShow less3.2.23.2.33.2.43.2.53.2.64.0.04.0.14.0.24.0.34.0.44.0.54.0.64.0.74.1.04.1.14.1.24.2.04.2.1 | 4.2.2 |
invenio-communitiesPyPI | before 2.8.11, plus listed versions 1.0.0a11.0.0a101.0.0a111.0.0a121.0.0a13 Show 45 moreShow less1.0.0a141.0.0a151.0.0a161.0.0a171.0.0a181.0.0a191.0.0a21.0.0a201.0.0a211.0.0a221.0.0a231.0.0a241.0.0a251.0.0a261.0.0a271.0.0a281.0.0a291.0.0a31.0.0a41.0.0a51.0.0a61.0.0a71.0.0a81.0.0a92.0.02.0.12.0.22.0.32.0.42.0.52.0.62.1.02.1.12.2.02.2.12.2.22.2.32.2.42.2.52.3.02.3.0.dev02.3.0.dev12.3.12.3.22.4.0.dev0 | 2.8.11 |
What each source reports
GitHub Advisories Score used 6.3
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 info@inveniosoftware.org
- Record
GHSA-hjx6-f647-mvf9- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV 6.3
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 info@inveniosoftware.org
- Record
GHSA-hjx6-f647-mvf9- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-79
- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
github.com/inveniosoftware/invenio-communities/security/advisories/GHSA-hjx6-f647-mvf9
github.com/inveniosoftware/invenio-communities/commit/4424dd5112818992b82ae42d4c4f89089502b35f
github.com/inveniosoftware/invenio-communities/commit/6a47db9404c51134634b3905f62f612b4a976698
github.com/inveniosoftware/invenio-communities/commit/817b8208f5ce262f45eab32832d90b80dc7d3fce
github.com/inveniosoftware/invenio-communities/commit/b89442c9d57421a88dd0aa89a404ba89d1a22cac
github.com/advisories/GHSA-hjx6-f647-mvf9
github.com/inveniosoftware/invenio-communities
Left out here: 65 versions. The JSON record has them.