{"id":"CVE-2026-6397","aliases":["CVE-2026-6397"],"related":[],"kind":"vulnerability","state":"published","title":"Sticky <= 2.5.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'readmoretext' Shortcode Attribute","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El plugin Sticky para WordPress es vulnerable a Cross-Site Scripting Almacenado a través del atributo 'readmoretext' del shortcode 'cvmh-sticky' en versiones hasta la 2.5.6 inclusive. Esto se debe a una sanitización de entrada y un escape de salida insuficientes en la función 'cvmh_sticky_front_render()' - el valor del atributo 'readmoretext' se pasa a través de 'apply_filters()' y se concatena directamente en la salida HTML sin ninguna función de escape como 'esc_html()'. Esto hace posible que atacantes autenticados con acceso de nivel Colaborador o superior inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página que contenga el shortcode inyectado.","source":"nvd"}],"published":"2026-05-20T01:25:46.486Z","modified":"2026-07-24T08:10:00.150Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.5.6","status":"affected"}],"vendor":"cvmh","product":"Sticky","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/135783c5-8175-4775-a013-f1e2bef04479?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/sticky/trunk/includes/functions.php#L118","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/sticky/tags/2.5.6/includes/functions.php#L118","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/sticky/trunk/includes/shortcode.php#L7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/sticky/tags/2.5.6/includes/shortcode.php#L7","tags":[],"sources":["cvelist","nvd"]}],"credits":["Djaidja Moundjid"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-20T17:18:25.618Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-6397","url":"https://www.cve.org/CVERecord?id=CVE-2026-6397","licence":"CVE Terms of Use","modified":"2026-05-20T17:18:35.975Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-6397","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6397","licence":"Public domain","modified":"2026-07-24T08:10:00.150Z"}],"updatedAt":"2026-11-25T22:59:22.012Z","epss":{"score":0.00245,"percentile":0.16835,"date":"2026-12-02T12:00:21.000Z"}}