Soumettre #1055290: ONLYOFFICE ONLYOFFICE integration for HumHub 4.0.0 Cross-Site Scriptinginformation

TitreONLYOFFICE ONLYOFFICE integration for HumHub 4.0.0 Cross-Site Scripting
DescriptionONLYOFFICE integration for HumHub 4.0.0 contains a stored cross-site scripting vulnerability (CWE-79) in the send-notify notification flow. An authenticated attacker can supply a crafted HTML comment while referencing a valid document key and a target user's email address. ApiController.php reads the POST comment and passes it to Mention::generateMention(); notifications/Mention.php then concatenates $this->source->message into notification HTML without output encoding. When the target opens the HumHub notification overview, the stored comment is rendered as active markup. Three independent fresh reproductions succeeded (marker gt481023h3c): the response contained the exact injected IMG element and the Mention record persisted. Source-to-sink: send-notify comment -> Mention.message -> Mention::html() raw concatenation -> notification overview. Attack prerequisites: authenticated attacker, valid document key, and victim interaction. CVSS 3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (5.4). Recommended fix: HTML-encode the comment preview at the output sink or render it as plain text using framework encoding helpers. Official source: https://github.com/ONLYOFFICE/onlyoffice-humhub/blob/master/notifications/Mention.php . The public advisory includes a sanitized reproduction, three-run proof, and highlighted source-to-sink image. Researcher: Zhong Guangyuan (钟广源), Fudan University.
La source⚠️ https://github.com/TERRENCE-REX/CVE/issues/18
Utilisateur
 sanktsimone (UID 102457)
Soumission24/10/2026 07:19 (il y a 1 mois)
Modérer23/11/2026 11:43 (1 month later)
StatutAccepté
Entrée VulDB442287 [ONLYOFFICE onlyoffice-humhub jusqu’à 4.0.0 Mention Notification Mention.php html comment cross site scripting]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!