CVE-2025-28882 Overview
CVE-2025-28882 is a reflected cross-site scripting (XSS) vulnerability in the Omnify omnify-widget plugin for WordPress. The flaw stems from improper neutralization of user-supplied input during web page generation, classified under [CWE-79]. Affected versions include Omnify omnify-widget from initial release through version 2.0.3. An attacker can craft a malicious URL that, when followed by an authenticated or unauthenticated victim, executes arbitrary JavaScript in the victim's browser session. The vulnerability requires user interaction and carries a scope change because the injected script executes within the WordPress site context.
Critical Impact
Successful exploitation allows attackers to execute arbitrary JavaScript in a victim's browser, enabling session theft, credential harvesting, and unauthorized actions within the WordPress site.
Affected Products
- Omnify omnify-widget WordPress plugin versions up to and including 2.0.3
- WordPress installations using the vulnerable Omnify plugin
- Site visitors and administrators accessing crafted URLs
Discovery Timeline
- 2025-03-26 - CVE-2025-28882 published to NVD
- 2026-04-23 - Last updated in NVD database
Technical Details for CVE-2025-28882
Vulnerability Analysis
The vulnerability is a reflected cross-site scripting flaw [CWE-79] in the Omnify omnify-widget WordPress plugin. The plugin echoes user-controlled input back into HTTP responses without proper output encoding or input sanitization. An attacker constructs a URL containing JavaScript payloads in vulnerable request parameters. When a victim clicks the link, the server reflects the payload into the rendered page, and the browser executes it within the site's origin.
The attack vector is network-based and requires user interaction, typically through phishing or social engineering. Because the vulnerability produces a scope change, injected scripts can affect resources beyond the immediate vulnerable component, including authenticated session cookies and the WordPress administrative interface.
Root Cause
The root cause is missing or insufficient output encoding when the plugin renders request parameters into HTML responses. The plugin does not apply WordPress core escaping functions such as esc_html(), esc_attr(), or wp_kses() to user-supplied values before placing them in the response document.
Attack Vector
An attacker delivers a crafted link via email, messaging platforms, or third-party websites. The target must click the link while browsing the affected WordPress site. The reflected payload executes JavaScript with the privileges of the victim's browser session, potentially allowing cookie theft, page defacement, or forced actions against the WordPress backend if an administrator is targeted. The vulnerability is described in the Patchstack WordPress Vulnerability Report.
Detection Methods for CVE-2025-28882
Indicators of Compromise
- HTTP request logs containing URL parameters with <script>, javascript:, onerror=, or onload= strings targeting omnify-widget endpoints
- Unexpected outbound requests from administrator browsers to attacker-controlled domains shortly after visiting crafted links
- Anomalous session activity or new administrative actions correlated with referrer URLs containing encoded script payloads
Detection Strategies
- Inspect web server access logs for suspicious query parameters reaching paths associated with the Omnify plugin
- Deploy a web application firewall (WAF) rule set that flags reflected XSS payload patterns in inbound requests
- Correlate referrer headers on administrator authentication events with known phishing infrastructure
Monitoring Recommendations
- Monitor WordPress plugin inventory for installations of omnify-widget at version 2.0.3 or earlier
- Alert on Content Security Policy (CSP) violation reports indicating inline script execution attempts
- Track unusual user-agent and geolocation patterns on requests targeting plugin endpoints
How to Mitigate CVE-2025-28882
Immediate Actions Required
- Identify all WordPress sites running the Omnify omnify-widget plugin and confirm the installed version
- Disable or remove the omnify-widget plugin until a patched release above version 2.0.3 is verified and installed
- Rotate administrator credentials and invalidate active sessions if exploitation is suspected
Patch Information
The vulnerability affects Omnify omnify-widget through version 2.0.3. Refer to the Patchstack WordPress Vulnerability Report for current patch status and upgrade guidance from the vendor.
Workarounds
- Deploy a WAF rule set that blocks common reflected XSS payloads targeting plugin query parameters
- Implement a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins
- Restrict access to plugin endpoints via IP allowlisting where feasible until the plugin is updated or removed
# Example WAF rule pattern (ModSecurity) to block reflected XSS payloads
SecRule ARGS "@rx (?i)(<script|javascript:|onerror=|onload=)" \
"id:1002885,phase:2,deny,status:403,log,msg:'Potential reflected XSS targeting omnify-widget'"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.


