Description
The VI: Include Post By plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'class_container' attribute of the 'include-post-by-cat' shortcode in all versions up to, and including, 0.4.200706 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.
Published: 2026-04-15
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Immediate Patch
AI Analysis

Impact

The VI: Include Post By WordPress plugin contains a stored cross‑site scripting vulnerability that arises when the 'class_container' attribute of the 'include-post-by-cat' shortcode is not properly sanitized or escaped. This flaw allows an attacker with contributor‑level access or higher to inject arbitrary JavaScript code that will be executed by any user who views the page containing the malicious content. The weakness is a classic input validation and output encoding issue classified as CWE‑79.

Affected Systems

WordPress sites running the VI: Include Post By plugin, versions up to and including 0.4.200706, are affected. The plugin, developed by Knighthawk, is distributed through the WordPress plugin repository. Any site that has installed or upgraded the plugin to a version older than or equal to 0.4.200706 may be vulnerable, regardless of the WordPress core version.

Risk and Exploitability

The vulnerability scores a moderate severity (CVSS 6.4) and lacks an available EPSS score, indicating uncertainty about exploitation frequency. It is not listed in the CISA KEV catalog. Attackers must be authenticated with at least contributor privileges and must be able to insert or edit shortcodes on the site. Once a malicious snippet is stored, any authenticated or unauthenticated visitor to the affected page will run the injected code, potentially leading to session hijacking, data theft, or defacement. Because the injection occurs through a commonly used shortcode, the attack surface is significant across dozens of sites that rely on this plugin.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the VI: Include Post By plugin to any version newer than 0.4.200706
  • If an upgrade is not possible, remove or neutralize the 'class_container' attribute from all 'include-post-by-cat' shortcodes used on the site
  • Restrict contributor roles from adding or editing shortcodes, or upgrade their capabilities to prevent injection

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 15 Apr 2026 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Knighthawk
Knighthawk vi: Include Post By
Wordpress
Wordpress wordpress
Vendors & Products Knighthawk
Knighthawk vi: Include Post By
Wordpress
Wordpress wordpress

Wed, 15 Apr 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 15 Apr 2026 08:30:00 +0000

Type Values Removed Values Added
Description The VI: Include Post By plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'class_container' attribute of the 'include-post-by-cat' shortcode in all versions up to, and including, 0.4.200706 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 VI: Include Post By <= 0.4.200706 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'class_container' Shortcode Attribute
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'}


Subscriptions

Knighthawk Vi: Include Post By
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-15T13:21:29.069Z

Reserved: 2026-04-06T18:16:08.166Z

Link: CVE-2026-5717

cve-icon Vulnrichment

Updated: 2026-04-15T13:21:22.989Z

cve-icon NVD

Status : Deferred

Published: 2026-04-15T09:16:33.527

Modified: 2026-04-22T20:23:16.350

Link: CVE-2026-5717

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-15T14:53:26Z

Weaknesses