Skip to main content

Custom top bar CVE-2025-28895

HIGH
Cross-site Scripting (XSS) (CWE-79)
2025-03-11 audit@patchstack.com
7.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Access WordPress site
  2. Delivery
    Inject XSS payload into Custom top bar settings (via CSRF or admin access)
  3. Exploit
    Payload stored in database
  4. Execution
    Victim visits page with top bar
  5. Persist
    Malicious script executes in victim browser
  6. Impact
    Steal credentials or perform actions as victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the vulnerable Custom top bar plugin version 2.0.2 or earlier is installed and active on a WordPress site. The attacker must have the ability to inject malicious input into the plugin's configuration fields, which typically requires either authenticated WordPress administrator access OR successful exploitation of a CSRF vulnerability in the plugin's settings page (as suggested by the Patchstack reference URL pattern 'csrf-to-stored-xss'). The CVSS vector PR:N indicates no privilege requirement for the XSS itself once the payload is stored, but injection phase requirements are not fully detailed in the CVE description. For the stored script to execute and cause impact, site visitors must browse to pages where the custom top bar is rendered with the injected payload (UI:R requirement). The changed scope rating indicates the vulnerability affects users beyond the vulnerable plugin component itself.

Impact

Real-world risk is moderate despite the 7.1 CVSS score. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:C) indicates network-exploitable, low-complexity attack requiring only user interaction - specifically, a victim must visit a page containing the injected script. The changed scope (S:C) reflects that XSS executes in the victim's browser context, not the vulnerable application itself. However, multiple risk signals point to lower practical urgency: EPSS probability of 0.09% (26th percentile) suggests minimal observed exploitation activity; no CISA KEV listing indicates no confirmed active exploitation in the wild; no public POC is identified in the provided data. The attack requires either admin-level access to inject the payload OR successful CSRF exploitation (if the Patchstack reference pattern is accurate). For organizations not using this specific WordPress plugin, risk is zero. For those running Custom top bar <= 2.0.2, risk depends heavily on whether administrative settings are exposed to untrusted users and whether CSRF protections are properly implemented elsewhere in the WordPress installation.

Exploit ScenarioDerived

An attacker crafts a malicious script payload and injects it into the Custom top bar plugin configuration, likely through an administrative settings page. If CSRF protections are weak, the attacker could trick an authenticated administrator into submitting the payload via a disguised link. Once stored, the malicious JavaScript executes in the browsers of all site visitors who view pages displaying the custom top bar, potentially stealing session cookies, redirecting users to phishing sites, or performing actions on behalf of victims within their authenticated WordPress sessions.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Apr 25, 2026

Stored cross-site scripting (XSS) in the Custom top bar WordPress plugin versions up to 2.0.2 allows remote attackers to inject malicious scripts that execute in victim browsers when they view affected pages. The vulnerability is exploitable via network access without authentication but requires user interaction (victim visiting a page with injected payload). EPSS score of 0.09% (26th percentile) indicates low probability of mass exploitation at time of analysis. Patchstack reporting suggests this may be chained with CSRF based on reference URL pattern, though not explicitly confirmed in the CVE description.

Earlier versions of this analysis (2)
v2 Apr 25, 2026 - 00:42 cvss changed CVSS 7.1

Stored cross-site scripting in Custom top bar WordPress plugin (versions ≤2.0.2) enables unauthenticated remote attackers to inject malicious JavaScript via CSRF-chained attack requiring user interaction. The vulnerability leverages improper input sanitization on web page generation, with changed scope indicating script execution in victim contexts. EPSS exploitation probability is low (0.09%, 26th percentile) with no CISA KEV listing or public POC identified, suggesting limited active exploitation despite the network attack vector.

v1 Mar 12, 2026 - 19:52 CVSS 7.1

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in sumanbiswas013 Custom top bar allows Stored XSS. This issue affects Custom top bar: from n/a through 2.0.2. [CVSS 7.1 HIGH]

RemediationAI

Update Custom top bar plugin to version 2.0.3 or later if available, checking the WordPress plugin repository or contacting the plugin developer sumanbiswas013 directly. As of this analysis, the Patchstack reference (https://patchstack.com/database/wordpress/plugin/custom-top-bar/vulnerability/wordpress-custom-top-bar-plugin-2-0-2-csrf-to-stored-xss-vulnerability) should contain patch availability status and upgrade instructions. If no patched version exists, implement compensating controls: restrict access to Custom top bar configuration settings to trusted administrators only via WordPress role-based access control; implement Content Security Policy (CSP) headers with strict script-src directives to prevent inline script execution, though this may break legitimate plugin functionality; enable WordPress's built-in CSRF token validation for all administrative forms if the attack vector involves CSRF. As a last resort, deactivate and remove the Custom top bar plugin entirely if the notification bar functionality is non-critical, replacing it with an actively maintained alternative such as WP Notification Bar or Hello Bar plugins that receive regular security updates.

Affected ProductsAI

The vulnerability affects Custom top bar WordPress plugin versions from the initial release through version 2.0.2. This is a plugin developed by sumanbiswas013 and distributed through the WordPress plugin ecosystem. Organizations can verify their installation version through the WordPress admin dashboard under Plugins. The Patchstack vulnerability database entry at https://patchstack.com/database/wordpress/plugin/custom-top-bar/ provides vendor-specific details, though the capitalization variance in the second reference URL (Wordpress vs wordpress) suggests potential documentation inconsistency.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This is a classic stored XSS vulnerability (CWE-79) affecting a WordPress plugin that manages custom notification bars. The vulnerability arises from improper neutralization of user input during web page generation - specifically, the plugin fails to sanitize or escape input data before rendering it in HTML output. Unlike reflected XSS, the malicious payload is persisted in the application's data store (database) and served to all users who view the affected pages. The reference URL pattern 'csrf-to-stored-xss' suggests the injection vector may require CSRF to bypass front-end protections, though the CVSS vector PR:N indicates no authentication is strictly required for the underlying XSS. This is a WordPress plugin-specific issue affecting the Custom top bar extension developed by sumanbiswas013, with affected versions spanning through 2.0.2.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.1 HIGH
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

3
Analysis Updated
Apr 25, 2026 - 00:42 vuln.today
v3 - CVSS changed
Analysis Updated
Apr 25, 2026 - 00:42 vuln.today
v2 - CVSS changed
CVE Published
Mar 11, 2025 - 21:15 nvd
HIGH 7.1

DescriptionCVE.org

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in sumanbiswas013 Custom top bar allows Stored XSS. This issue affects Custom top bar: from n/a through 2.0.2.

Executive ViewAI

Why It Matters

The Custom top bar WordPress plugin (versions ≤2.0.2) contains a stored cross-site scripting vulnerability that allows unauthenticated attackers to inject malicious scripts affecting any user who views compromised pages. This poses a direct risk to WordPress site visitors and administrators, potentially enabling credential theft, malware distribution, or unauthorized actions on affected sites. With no vendor patch currently available, immediate mitigation is required for any organization using this plugin.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Deactivate and remove the plugin if not essential; (2) Implement WAF rules to block script injection patterns in plugin parameters; (3) Restrict plugin administrative access to minimum required users; (4) Deploy Content Security Policy (CSP) headers to limit inline script execution; (5) Enable WordPress security plugins with XSS detection; (6) Conduct immediate audit of plugin settings and custom top bar content for indicators of compromise.

Threat Intelligence Overview

EPSS Score
0.1%
Top 74% exploitable
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy