Custom top bar CVE-2025-28895
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess WordPress site
-
DeliveryInject XSS payload into Custom top bar settings (via CSRF or admin access)
-
ExploitPayload stored in database
-
ExecutionVictim visits page with top bar
-
PersistMalicious script executes in victim browser
-
ImpactSteal 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – 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)
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.
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
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
Lifecycle Timeline
3DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB