---
id: CVE-2025-8440
title: >-
  The Team Members plugin for WordPress is vulnerable to Stored Cross-Site
  Scripting via the first and last name fields in all versions up to, and
  including, 5.3.5 due to insufficient input sanitization and output escaping
summary: >-
  The Team Members plugin for WordPress is vulnerable to Stored Cross-Site
  Scripting via the first and last name fields in all versions up to, and
  including, 5.3.5 due to insufficient input sanitization and output escaping.
  This makes it p…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2025-09-27'
updated: '2026-10-09'
sourceUpdated: '2026-10-09T10:10:00.193'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-8440'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/team-members/trunk/inc/tmm-save-metaboxes.php#L77
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3364663%40team-members%2Ftrunk&old=3116517%40team-members%2Ftrunk&sfp_email=&sfph_mail=
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/b46c3f25-6879-47b1-9026-4297fdd003b0?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00238
epssPercentile: 0.13631
ingestedAt: '2026-10-09T12:53:28.145Z'
---

## Overview

The Team Members plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the first and last name fields in all versions up to, and including, 5.3.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
