Description: In Mes Agendas, a user can create new events and add them to their calendar. Additionally, users can invite others from the same domain, including administrators, to these events. A standard user can inject an XSS payload into the "Titre" and "Description" fields when creating an event and then add the administrator or any user to the event. When the invited user (victim) views their own profile, the payload will be executed on their side, even if they do not click on the event.
Versions Affected: <= 6.3.5
Version Fixed: 6.3.5
Researcher: Tonee Marqus with Phronesis Security (https://www.phronesissecurity.com/)
Applied Fix: Silverpeas/Silverpeas-Core#1346
Related Links:
- https://security.snyk.io/vuln/SNYK-JAVA-ORGSILVERPEASCORE-7443649
- https://avd.aquasec.com/nvd/2024/cve-2024-39031/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-39031
- https://nvd.nist.gov/vuln/detail/CVE-2024-39031
login as an any user and create a new event (agenda) in the mes agendas. Inside the “Titre” and “Description” put the following XSS payloads:
<script>alert("XSS-Titre")</script>
And
<script>alert("XSS-Description")</script>
Add another user as a participant, for example, here an administrator was added. Save the event:
Login to the administrator account and click on the administrator button in the top left to enter administrator profile, once you click, the XSS alert for “Titre” will pop up. If you click OK, the other XSS payload will also pop up for “description”
Additionally, the XSS payload can be triggered in many other places, for example when we click on the event from the calendar: Or from Mon profile → Mur Finally, from Fil d'informations: