
Cloud Vulnerability DB
A community-led vulnerabilities database
The CVE-2023-25491 is a Stored Cross-Site Scripting (XSS) vulnerability affecting Samuel Marshall JCH Optimize WordPress plugin versions 3.2.2 and below. The vulnerability was discovered by Rio Darmawan and was publicly disclosed on March 2, 2023. The issue affects high-privilege users such as administrators, particularly in multisite setups where the unfilteredhtml capability is disallowed ([Patchstack](https://patchstack.com/database/vulnerability/jch-optimize/wordpress-jch-optimize-plugin-3-2-2-cross-site-scripting-xss-vulnerability?s_id=cve), WPScan).
The vulnerability stems from improper sanitization and escaping of certain plugin settings. This security flaw is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The vulnerability has received varying CVSS scores: NIST assigned a CVSS v3.1 base score of 4.8 (Medium) with vector CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N, while Patchstack rated it at 5.9 (Medium) with vector CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L (NVD).
The vulnerability could allow malicious actors with administrative privileges to inject malicious scripts, including redirects, advertisements, and other HTML payloads into the website. These injected scripts would be executed when guests visit the affected site, even in environments where unfiltered HTML is typically restricted (Patchstack).
The vulnerability has been patched in version 3.2.3 of the JCH Optimize plugin. Site administrators are advised to update to version 3.2.3 or later to remove the vulnerability. Patchstack users have the option to enable auto-updates for vulnerable plugins (Patchstack).
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."