Security mailing lists by PureSourceCode

GHSA-hjx6-f647-mvf9

MEDIUM 6.3CVSS 3.1

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

Published
12 Jun 2024
Last modified
29 Nov 2024
Weakness
CWE-79
Sources
OSVJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI invenio-communities >= 5.0.0, < 7.8.0 7.8.0
OSV PyPI invenio-communities >= 3.0.0, < 4.2.2 4.2.2
OSV PyPI invenio-communities < 2.8.11 2.8.11

References

History

  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Jun 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.