CVE-2026-6397
published medium CVSS 3.1 · 6.4Sticky <= 2.5.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'readmoretext' Shortcode Attribute
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cvmh | — | Sticky0 through 2.5.6 · Other versions: unaffected | Affected | Not stated | Wordfence |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.4 / 10
- Severity
- medium
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cvmh | Sticky | 0 through 2.5.6 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
5- https://plugins.trac.wordpress.org/browser/sticky/tags/2.5.6/includes/functions.php#L118
- https://plugins.trac.wordpress.org/browser/sticky/tags/2.5.6/includes/shortcode.php#L7
- https://plugins.trac.wordpress.org/browser/sticky/trunk/includes/functions.php#L118
- https://plugins.trac.wordpress.org/browser/sticky/trunk/includes/shortcode.php#L7
- https://www.wordfence.com/threat-intel/vulnerabilities/id/135783c5-8175-4775-a013-f1e2bef04479?source=cve
Provider assertions
2Wordfence · cna
Sticky <= 2.5.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'readmoretext' Shortcode Attribute
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 39f358a5490ad3fdeedd9db5e86798ba2dfe8c4ede691a07465c1235ce988a72
- Ingested
- 23 Sep 2026, 09:28:24 UTC
- Source record
- Official CVE record