ADVISORIES

GitHub Advisory Database

GHSA-ffx7-34p2-vm3w

Mattermost Confluence plugin doesn't properly escape user-controlled display names in HTML template rendering

Details

Mattermost Confluence plugin version < 1.7.0 fails to properly escape user-controlled display names in HTML template rendering which allows authenticated Confluence users with malicious display names to execute arbitrary JavaScript in victim browsers via sending a specially crafted OAuth2 connection link that, when visited, renders the attacker's display name without proper sanitization. Mattermost Advisory ID: MMSA-2025-00557

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost-plugin-confluence
All versions before 1.7.0 (fixed in 1.7.0)

References