Skip to content
Fencer Intel
medium 6.3

GHSA-hjx6-f647-mvf9 json

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

published 2y ago modified last yr.

cvss
6.3
version 3.1, GitHub
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

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 [info@inveniosoftware.org](mailto:info@inveniosoftware.org)

Patch / fix

Is GHSA-hjx6-f647-mvf9 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CVSS scores

assigned by version score vector
GitHub 3.1 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Affected packages

ecosystem package affected fixed in
pypi invenio-communities
>=5.0.0, <7.8.0
>=3.0.0, <4.2.2
<2.8.11
7.8.0
4.2.2
2.8.11

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.