Description
The BNS Featured Category plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'bnsfc' shortcode in all versions up to, and including, 2.8.2 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: 2025-06-06
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Apply Patch
AI Analysis

Impact

The BNS Featured Category plugin for WordPress is vulnerable to a stored cross‑site scripting flaw that allows authenticated users with contributor or higher privileges to inject arbitrary JavaScript through the plugin’s shortcode attributes. Because the input data are not properly sanitized or escaped, malicious scripts can be persisted to the database and executed every time a user views the affected page. This jeopardizes the confidentiality and integrity of users’ browsers, potentially leading to session hijacking, credential theft, or defacement of site content.

Affected Systems

WordPress installations using the BNS Featured Category plugin version 2.8.2 or earlier are affected. Any site that has this plugin activated and allows contributors or higher roles to edit content is at risk.

Risk and Exploitability

The vulnerability has a CVSS score of 6.4, indicating moderate severity, and an EPSS score of less than 1 %, meaning that, as of now, the likelihood of exploitation is low. It is not listed in the CISA KEV catalog. Attackers can exploit this flaw by inserting malicious attributes into the shortcode in a post or page they can edit; the injected script then runs whenever any visitor loads that page.

Generated by OpenCVE AI on April 20, 2026 at 22:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade BNS Featured Category to the latest version (2.8.3 or later).
  • If an immediate update is not possible, remove or disable usage of the plugin’s shortcode in existing content to prevent script execution.
  • Limit contributor and other role permissions from adding or editing posts that contain the problematic shortcode until the update is applied.

Generated by OpenCVE AI on April 20, 2026 at 22:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-17073 The BNS Featured Category plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'bnsfc' shortcode in all versions up to, and including, 2.8.2 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.
History

Fri, 06 Jun 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 06 Jun 2025 07:00:00 +0000

Type Values Removed Values Added
Description The BNS Featured Category plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'bnsfc' shortcode in all versions up to, and including, 2.8.2 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 BNS Featured Category <= 2.8.2 - Authenticated (Contributor+) Stored Cross-Site Scripting
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

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:14:11.192Z

Reserved: 2025-06-03T15:44:09.444Z

Link: CVE-2025-5538

cve-icon Vulnrichment

Updated: 2025-06-06T15:42:39.120Z

cve-icon NVD

Status : Deferred

Published: 2025-06-06T07:15:29.080

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-5538

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-20T22:45:20Z

Weaknesses