# CVE-2026-13253: WPXPO Ultimate Post Stored XSS in Advanced Search Block

Source: https://junglewise.ai/threats/cve-2026-13253-wpxpo-ultimate-post-stored-xss-in-advanced-search-block  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-09. Updated: 2026-07-09  
License: CC BY 4.0 with a link back

CVE-2026-13253 · Severity: medium · CVSS 6.4 · Published 2026-07-09

The Ultimate Post plugin for WordPress, used for creating advanced post grids and search blocks, contains a security flaw that allows users with contributor-level access or higher to inject malicious scripts into website pages. These scripts will automatically run in the browser of any visitor who views the affected page. This could lead to unauthorized actions being performed on behalf of site administrators or the theft of sensitive session information.

Vendors: [WPXPO](https://junglewise.ai/threats/vendors/wpxpo).

## Quick answers

**Is CVE-2026-13253 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-13253 being exploited in the wild.

**How severe is CVE-2026-13253?** Medium severity, with a CVSS score of 6.4, published 9 July 2026.

**Which products and versions are affected?** WPXPO Post Grid Gutenberg Blocks – PostX up to and including 5.0.31.

**Is there a fix for CVE-2026-13253?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-13253 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-13253?** Check whether you run WPXPO Post Grid Gutenberg Blocks – PostX at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The Ultimate Post plugin for WordPress is vulnerable to Stored Cross-Site Scripting (XSS) due to insufficient input sanitization and output escaping in the Advanced_Search::content() render callback. Specifically, the 'moreResultsText' block attribute is filtered using wp_kses(), which fails to escape HTML special characters like double quotes. The resulting value is then concatenated directly into the 'data-viewmoretext' HTML attribute without using esc_attr(). This allows authenticated attackers with contributor-level permissions or higher to break out of the attribute and inject arbitrary JavaScript. The vulnerability is present in versions up to and including 5.0.31.

## Affected products

- wpxpo Post Grid Gutenberg Blocks – PostX (Ultimate Post) up to and including 5.0.31

## Timeline

- 2026-07-09: disclosed
- 2026-07-09: advisory

## References

- [https://plugins.trac.wordpress.org/browser/ultimate-post/tags/5.0.27/blocks/Advanced_Search.php](https://plugins.trac.wordpress.org/browser/ultimate-post/tags/5.0.27/blocks/Advanced_Search.php)
- [https://plugins.trac.wordpress.org/browser/ultimate-post/tags/5.0.27/blocks/Advanced_Search.php](https://plugins.trac.wordpress.org/browser/ultimate-post/tags/5.0.27/blocks/Advanced_Search.php)
- [https://plugins.trac.wordpress.org/browser/ultimate-post/tags/5.0.27/classes/Blocks.php](https://plugins.trac.wordpress.org/browser/ultimate-post/tags/5.0.27/classes/Blocks.php)
- [https://plugins.trac.wordpress.org/browser/ultimate-post/tags/5.0.28/blocks/Advanced_Search.php](https://plugins.trac.wordpress.org/browser/ultimate-post/tags/5.0.28/blocks/Advanced_Search.php)
- [https://plugins.trac.wordpress.org/browser/ultimate-post/tags/5.0.28/blocks/Advanced_Search.php](https://plugins.trac.wordpress.org/browser/ultimate-post/tags/5.0.28/blocks/Advanced_Search.php)
- [https://plugins.trac.wordpress.org/browser/ultimate-post/tags/5.0.28/classes/Blocks.php](https://plugins.trac.wordpress.org/browser/ultimate-post/tags/5.0.28/classes/Blocks.php)
- [https://plugins.trac.wordpress.org/changeset?reponame=&old=3598669%40ultimate-post&new=3598669%40ultimate-post](https://plugins.trac.wordpress.org/changeset?reponame=&old=3598669%40ultimate-post&new=3598669%40ultimate-post)

## Related threats

- [WPXPO PostX Stored XSS in searchnoresult block attribute](https://junglewise.ai/threats/cve-2026-15100-wpxpo-postx-stored-xss-in-searchnoresult-block-attribute)
