CVE-2025-13523: Github.com/mattermost/mattermost plugin confluence Mattermost Confluence Plugin Doesn't Properly Vulnerability

HIGH
Advisory Identifier: GHSA-ffx7-34p2-vm3w
CVSS 7.7
CWE-79
Published
Advisory Summary

CVE-2025-13523 is a HIGH (CVSS 7.7) mattermost confluence plugin doesn't properly vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Github.com/mattermost/mattermost plugin confluence libraries in the Go ecosystem. The issue involves mattermost confluence plugin doesn't properly escape user-controlled display names in html template rendering. Remediation is available by upgrading affected packages to version 1.7.0.

CVE-2025-13523 at a Glance

CVE Identifier CVE-2025-13523
GHSA Identifier GHSA-ffx7-34p2-vm3w
Severity HIGH
CVSS v3.1 Base Score 7.7
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Github.com/mattermost/mattermost plugin confluence
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2025-13523

To remediate this vulnerability, upgrade all affected Github.com/mattermost/mattermost plugin confluence dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/mattermost/mattermost-plugin-confluence fixed: 1.7.0
Upgrade github.com/mattermost/mattermost-plugin-confluence to 1.7.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/mattermost/mattermost-plugin-confluence

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-13523, inspect your project dependencies for Github.com/mattermost/mattermost plugin confluence:

inspect dependencies for github.com/mattermost/mattermost-plugin-confluence

Analyze the terminal output to locate any version of Github.com/mattermost/mattermost plugin confluence in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Github.com/mattermost/mattermost plugin confluence, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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

CVE-2025-13523 Affected Github.com/mattermost/mattermost plugin confluence Versions

1 component(s)
Fixed Versions:
1.7.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/mattermost/mattermost-plugin-confluence
Go
< 1.7.0
1.7.0

References

Frequently Asked Questions

What is CVE-2025-13523?
CVE-2025-13523 is a security vulnerability in Github.com/mattermost/mattermost plugin confluence involving Mattermost Confluence plugin doesn't properly escape user-controlled display names in HTML template rendering under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Github.com/mattermost/mattermost plugin confluence versions are affected?
Affected versions include releases prior to 1.7.0 across affected packages: github.com/mattermost/mattermost-plugin-confluence.
What version fixes CVE-2025-13523?
Upgrading to 1.7.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/mattermost/mattermost-plugin-confluence affected?
Yes, github.com/mattermost/mattermost-plugin-confluence is affected in releases prior to 1.7.0. Upgrade your dependency to 1.7.0 or later.
What is the CVSS score of CVE-2025-13523?
CVE-2025-13523 has a CVSS v3.1 base score of 7.7 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N.
What CWE is associated with CVE-2025-13523?
CVE-2025-13523 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check Go dependencies for CVE-2025-13523?
Run the dependency tree command: 'inspect dependencies for github.com/mattermost/mattermost-plugin-confluence'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-ffx7-34p2-vm3w",
  "modified" : "2026-02-06T19:55:57Z",
  "published" : "2026-02-06T18:30:31Z",
  "aliases" : [ "CVE-2025-13523" ],
  "summary" : "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",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/mattermost/mattermost-plugin-confluence"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.7.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-13523"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/mattermost/mattermost-plugin-confluence"
  }, {
    "type" : "WEB",
    "url" : "https://mattermost.com/security-updates"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-06T19:55:57Z",
    "nvd_published_at" : "2026-02-06T16:16:13Z"
  }
}