CVE-2025-5538

BNS Featured Category <= 2.8.2 - Authenticated (Contributor+) Stored Cross-Site Scripting

Published Jun 6, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
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 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.

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:14 PM
Reserved
Jun 3, 2025, 3:44 PM
Status
Deferred
Published
Jun 6, 2025, 7:15 AM
Modified
Jun 17, 2026, 9:48 AM