CVE-2026-6397 Details
Description
The Sticky plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `cvmh-sticky` shortcode `readmoretext` attribute in versions up to and including 2.5.6. This is due to insufficient input sanitization and output escaping in the `cvmh_sticky_front_render()` function — the `readmoretext` attribute value is passed through `apply_filters()` and directly concatenated into the HTML output without any escaping function such as `esc_html()`. 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 a page containing the injected shortcode.
A stored cross-site scripting vulnerability has been identified in the Sticky plugin for WordPress, affecting versions through 2.5.6. The issue arises from inadequate input sanitization and output escaping in the 'cvmh_sticky_front_render()' function. The vulnerability allows authenticated attackers with Contributor-level access and above to inject arbitrary web scripts via the 'readmoretext' attribute of the 'cvmh-sticky' shortcode. The injected scripts are executed when a user accesses a page containing the modified shortcode.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 20, 2026CISA-ADP
Assessed May 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://plugins.trac.wordpress.org/browser/sticky/tags/2.5.6/includes/functions.php#L118 | [email protected] | Broken LinkSource CodeVendor |
| https://plugins.trac.wordpress.org/browser/sticky/tags/2.5.6/includes/shortcode.php#L7 | [email protected] | Broken LinkSource CodeVendor |
| https://plugins.trac.wordpress.org/browser/sticky/trunk/includes/functions.php#L118 | [email protected] | Broken LinkSource CodeVendor |
| https://plugins.trac.wordpress.org/browser/sticky/trunk/includes/shortcode.php#L7 | [email protected] | Broken LinkSource CodeVendor |
| https://www.wordfence.com/threat-intel/vulnerabilities/id/135783c5-8175-4775-a013-f1e2bef04479?source=cve | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Sticky | <= 2.5.6 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 20, 2026 | New CVE Received | [email protected] |
Volerion