CVE-2025-27305

WordPress Table of Contents Block plugin <= 1.0.2 - Cross Site Scripting (XSS) vulnerability

Published Feb 24, 2025 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Achal Jain Table of Contents Block table-of-contents allows Stored XSS.This issue affects Table of Contents Block: from n/a through <= 1.0.2.

Analysis

AI-generated

Technical impact

The vulnerability is a stored cross‑site scripting (XSS) flaw caused by improper neutralization of input in the Table of Contents Block plugin. An attacker could store malicious script payloads that are later rendered on webpages, enabling malicious code execution in the context of a user who views the affected page. This weakness corresponds to CWE‑79 and directly compromises application integrity and user confidentiality by allowing arbitrary code execution in the victim’s browser. The impact extends across all users who load pages containing the vulnerable block.

Affected Systems

Affected systems are WordPress installations running the Table of Contents Block plugin from its initial release through version 1.0.2. The plugin is authored by Achal Jain. Any WordPress site that has the plugin installed and whose version is 1.0.2 or earlier is susceptible. No specific WordPress core versions are enumerated as affected, so any compatible WordPress setup could be at risk if the plugin is present.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity; the EPSS score of less than 1% signals a low likelihood of exploitation in the wild at this time. The vulnerability is not listed in the CISA KeV catalog, further suggesting limited exploitation activity. Based on the description, the likely attack vector is via any input mechanism provided by the plugin where user supplied data becomes embedded in the page. An attacker with access to create or edit blocks (typically an administrator or editor role) could inject scripts that later run in the browsers of visitors to pages containing the block. Because the flaw stores the payload, a single successful injection can persist until the data is removed or the plugin is updated. Mitigation is straightforward by disabling the vulnerable plugin or applying an official update that removes the XSS vector.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Table of Contents Block plugin to the latest released version that addresses the XSS flaw.
  • If an update is not yet available, disable or uninstall the plugin to eliminate the storage vector for malicious scripts.
  • Implement appropriate input validation and sanitization measures or apply a content security policy that blocks inline scripts originating from user input to mitigate any residual risk.

Generated by OpenCVE AI on May 1, 2026 at 15:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-4339 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Achal Jain Table of Contents Block allows Stored XSS. This issue affects Table of Contents Block: from n/a through 1.0.2.
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L'}

Type Values Removed Values Added
Description Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Achal Jain Table of Contents Block allows Stored XSS. This issue affects Table of Contents Block: from n/a through 1.0.2. Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Achal Jain Table of Contents Block table-of-contents allows Stored XSS.This issue affects Table of Contents Block: from n/a through <= 1.0.2.
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Achal Jain Table of Contents Block allows Stored XSS. This issue affects Table of Contents Block: from n/a through 1.0.2.
Title WordPress Table of Contents Block plugin <= 1.0.2 - Cross Site Scripting (XSS) vulnerability
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L'}

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Apr 28, 2026, 4:11 PM
Reserved
Feb 21, 2025, 4:45 PM
Status
Deferred
Published
Feb 24, 2025, 3:15 PM
Modified
Jun 17, 2026, 9:03 AM