CVE-2026-0916

Related Posts by Taxonomy <= 2.7.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'related_posts_by_tax' Shortcode

Published Jan 16, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The Related Posts by Taxonomy plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'related_posts_by_tax' shortcode in all versions up to, and including, 2.7.6 due to insufficient input sanitization and output escaping on user supplied attributes. 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.

Analysis

AI-generated

Technical impact

An attacker with contributor or higher access can exploit a stored cross‑site scripting flaw in the Related Posts by Taxonomy WordPress plugin. The vulnerability arises from insufficient input sanitization and output escaping of the 'related_posts_by_tax' shortcode attributes; arbitrary scripts can be stored in a post’s metadata. When a user views a page containing the malicious shortcode, the injected code runs in the context of that site, potentially hijacking sessions, defacing content, or executing further attacks.

Affected Systems

The flaw affects the keesiemeijer: Related Posts by Taxonomy plugin installed on WordPress sites. All released versions up to and including 2.7.6 are vulnerable. Version 2.7.7 or later removes the vulnerability by properly sanitizing shortcode attributes.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity, but the EPSS score of less than 1 % suggests low likelihood of exploitation in the wild. The vulnerability is not currently listed in the CISA KEV catalog. Exploitation requires an authenticated contributor‑level account with the ability to edit or create posts that use the shortcode; no remote code execution or local privilege escalation is possible. If the vulnerable plugin is left in place, any authenticated user with the required role can inject malicious scripts that will affect all visitors to the page.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Related Posts by Taxonomy plugin to version 2.7.7 or later, which removes the stored XSS flaw by sanitizing shortcode attributes.
  • If an immediate upgrade is not feasible, restrict the contributor role from editing or creating posts that contain the 'related_posts_by_tax' shortcode, or remove the shortcode from existing content.
  • Scan all posts that use the shortcode for any embedded script tags and replace or delete suspicious attributes before the plugin is removed or no longer used.
  • As an additional precaution, disable the plugin if it is not required for site functionality, or use a site‑wide content filter to block execution of the shortcode until a patch is applied.

Generated by OpenCVE AI on April 15, 2026 at 21:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress
Metrics ssvc

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

Type Values Removed Values Added
Description The Related Posts by Taxonomy plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'related_posts_by_tax' shortcode in all versions up to, and including, 2.7.6 due to insufficient input sanitization and output escaping on user supplied attributes. 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.
Title Related Posts by Taxonomy <= 2.7.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'related_posts_by_tax' Shortcode
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:33 PM
Reserved
Jan 13, 2026, 7:07 PM
Status
Deferred
Published
Jan 16, 2026, 7:15 AM
Modified
Jun 17, 2026, 10:11 AM