CVE-2025-13523
JSON

7.7high

Cross-Site Scripting (XSS) via Unescaped Display Names in Mattermost Confluence Plugin OAuth2 Flow

Severity
7.7high CVSS:3.1 by Mattermost
Exploit likelihood
0.22% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Mattermost
Also known as
GHSA-ffx7-34p2-vm3wGO-2026-4456

Description

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

Product or packageVersionsReported by
Mattermost Mattermost Confluence Pluginbefore 1.7.0
Not affected: 1.7.0
CVE List
github.com/mattermost/mattermost-plugin-confluence (Go)before 1.7.0GitHub Advisory Database, Go Vulnerability Database
mattermost confluencefrom 1.0.0 before 1.7.0NVD

All scores

Mattermost7.7high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
GitHub7.7high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

GitHub Advisory Database

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

Go Vulnerability Database

Mattermost Confluence plugin doesn't properly escape user-controlled display names in HTML template rendering in github.com/mattermost/mattermost-plugin-confluence

NVD (es)

El plugin de Mattermost Confluence versión &lt;1.7.0 no logra escapar correctamente los nombres de visualización controlados por el usuario en la renderización de plantillas HTML, lo que permite a usuarios autenticados de Confluence con nombres de visualización maliciosos ejecutar JavaScript arbitrario en los navegadores de las víctimas mediante el envío de un enlace de conexión OAuth2 especialmente diseñado que, al ser visitado, renderiza el nombre de visualización del atacante sin la sanitización adecuada. ID de Aviso de Mattermost: MMSA-2025-00557

References

Sources

SourceRecordLicence
CVE ListCVE-2025-13523 changed 2026-02-06CVE Terms of Use
GitHub Advisory DatabaseGHSA-ffx7-34p2-vm3w changed 2026-02-22CC-BY-4.0
Go Vulnerability DatabaseGO-2026-4456 changed 2026-02-19CC-BY-4.0
NVDCVE-2025-13523 changed 2026-06-17Public domain