CVE-2025-49863 Overview
CVE-2025-49863 is a stored cross-site scripting (XSS) vulnerability in the WP CodeUs Advanced Sermons plugin for WordPress. The flaw affects all versions of Advanced Sermons up to and including 3.6. An authenticated attacker with low privileges can inject malicious script content that persists in the application and executes in the browsers of users who view affected pages. The vulnerability is classified under CWE-79, Improper Neutralization of Input During Web Page Generation. Exploitation requires user interaction and can affect resources beyond the vulnerable component due to the scope change reflected in the CVSS vector.
Critical Impact
Authenticated attackers can inject persistent JavaScript that executes in visitor and administrator sessions, enabling session theft, forced administrative actions, and delivery of secondary payloads.
Affected Products
- WP CodeUs Advanced Sermons plugin for WordPress
- All versions from unspecified initial release through 3.6
- WordPress installations with the vulnerable plugin activated
Discovery Timeline
- 2025-06-17 - CVE-2025-49863 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-49863
Vulnerability Analysis
The vulnerability stems from improper neutralization of user-supplied input rendered into WordPress pages generated by the Advanced Sermons plugin. Input accepted through plugin-managed fields is stored in the WordPress database without sufficient sanitization or output encoding. When the stored content is later rendered in a page context, embedded HTML and JavaScript execute in the browser of any user viewing that page.
Stored XSS is more damaging than reflected variants because the payload persists server-side and triggers automatically for every subsequent viewer. In WordPress plugin contexts, this commonly enables session hijacking of higher-privileged users, unauthorized administrative operations via forged requests, and pivoting to full site compromise through plugin or theme editing capabilities.
Root Cause
The root cause is missing or inadequate output escaping in the plugin's rendering logic. WordPress provides escaping helpers such as esc_html(), esc_attr(), and wp_kses_post() intended to neutralize dangerous markup before it reaches the browser. When these helpers are not applied to attacker-controllable fields stored by the plugin, script content survives the round trip from input to page render.
Attack Vector
Exploitation requires an authenticated account with low privileges on the target WordPress site and interaction from a targeted user. The attacker submits a crafted payload through an Advanced Sermons plugin input surface. When an administrator or visitor loads a page containing the stored content, the injected JavaScript runs in their browser session. The scope change in the CVSS vector indicates the impact can extend beyond the plugin boundary to affect the broader WordPress installation and its users.
No verified proof-of-concept code is publicly documented for this issue. Refer to the Patchstack XSS Vulnerability Advisory for technical details.
Detection Methods for CVE-2025-49863
Indicators of Compromise
- Unexpected <script> tags, javascript: URIs, or event handler attributes (onerror, onload, onmouseover) stored in wp_posts, wp_postmeta, or plugin-specific tables
- Administrator sessions initiating unexplained requests to /wp-admin/ endpoints such as user-new.php or plugin-install.php
- New administrator accounts, modified user roles, or unauthorized plugin installations following a page view by a privileged user
- Outbound requests from browsers to unfamiliar domains after loading sermon-related pages
Detection Strategies
- Inventory WordPress installations and identify those running Advanced Sermons at version 3.6 or earlier
- Query the database for HTML tags and JavaScript patterns inside fields managed by the plugin
- Review web server access logs for POST requests to Advanced Sermons endpoints containing encoded script fragments
- Deploy web application firewall rules that flag XSS payloads in requests targeting plugin routes
Monitoring Recommendations
- Alert on the creation of new administrator accounts or privilege escalations outside change windows
- Monitor for modifications to plugin and theme files that follow authenticated administrator sessions
- Track Content Security Policy (CSP) violation reports if a CSP is enforced on the WordPress front end
- Log and review authenticated user activity on plugin submission endpoints for anomalous input patterns
How to Mitigate CVE-2025-49863
Immediate Actions Required
- Identify all WordPress sites running Advanced Sermons and confirm the installed plugin version
- Deactivate the Advanced Sermons plugin on any site where a patched release is not available
- Audit wp_posts and plugin-managed tables for stored script content and remove any injected payloads
- Rotate credentials and invalidate active sessions for administrator accounts that may have viewed compromised pages
Patch Information
At the time of publication, the Patchstack advisory lists versions through 3.6 as affected and does not confirm a fixed release. Monitor the WordPress plugin repository and the vendor for an update that supersedes 3.6, and apply it as soon as it is available.
Workarounds
- Deactivate and uninstall the Advanced Sermons plugin until a patched version is released
- Restrict contributor and author role assignments to trusted users to limit who can supply plugin input
- Deploy a web application firewall with XSS signatures tuned for WordPress plugin endpoints
- Enforce a Content Security Policy that disallows inline scripts and restricts script sources to trusted origins
# Example: disable the vulnerable plugin using WP-CLI
wp plugin deactivate advanced-sermons
wp plugin uninstall advanced-sermons
# Search database for stored script payloads in post content
wp db query "SELECT ID, post_title FROM wp_posts WHERE post_content LIKE '%<script%' OR post_content LIKE '%javascript:%';"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

