Invenio-Communities has a Cross-Site Scripting (XSS) vulnerability in React components
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-79.
Summary
# 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](https://github.com/inveniosoftware/invenio-communities/releases/tag/v7.8.0). Patches also have been backported in versions [v4.2.2](https://github.com/inveniosoftware/invenio-communities/tree/v4.2.2) and [v2.8.11](https://github.com/inveniosoftware/invenio-communities/tree/v2.8.11). # Credits Thanks to [Twitter.com/AliGoodLuck11](https://x.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])
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | invenio-communities (PyPI) | 5.0.0 to before 7.8.0 | 7.8.0 | Patch available | GHSA-hjx6-f647-mvf9 |
| — | invenio-communities (PyPI) | 3.0.0 to before 4.2.2 | 4.2.2 | Patch available | GHSA-hjx6-f647-mvf9 |
| — | invenio-communities (PyPI) | before 2.8.11 | 2.8.11 | Patch available | GHSA-hjx6-f647-mvf9 |
- invenio-communities (PyPI) Vendor— Affected 5.0.0 to before 7.8.0 Fixed in 7.8.0 Patch available GHSA-hjx6-f647-mvf9
- invenio-communities (PyPI) Vendor— Affected 3.0.0 to before 4.2.2 Fixed in 4.2.2 Patch available GHSA-hjx6-f647-mvf9
- invenio-communities (PyPI) Vendor— Affected before 2.8.11 Fixed in 2.8.11 Patch available GHSA-hjx6-f647-mvf9
Remediation
- Fix · GHSA-hjx6-f647-mvf9 invenio-communities (PyPI) Fixed in 7.8.0 Advisory →
- Fix · GHSA-hjx6-f647-mvf9 invenio-communities (PyPI) Fixed in 4.2.2 Advisory →
- Fix · GHSA-hjx6-f647-mvf9 invenio-communities (PyPI) Fixed in 2.8.11 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-hjx6-f647-mvf9
References
Other 6
- https://github.com/inveniosoftware/invenio-communities/security/advisories/GHSA-hjx6-f647-mvf9
- https://github.com/inveniosoftware/invenio-communities/commit/4424dd5112818992b82ae42d4c4f89089502b35f
- https://github.com/inveniosoftware/invenio-communities/commit/6a47db9404c51134634b3905f62f612b4a976698
- https://github.com/inveniosoftware/invenio-communities/commit/817b8208f5ce262f45eab32832d90b80dc7d3fce
- https://github.com/inveniosoftware/invenio-communities/commit/b89442c9d57421a88dd0aa89a404ba89d1a22cac
- https://github.com/inveniosoftware/invenio-communities
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences