# CVE-2024-4043: WP Ultimate Post Grid <= 3.9.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via wpupg-text Shortcode

- Severity: Medium 6.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2024-05-23T06:46:02.238Z
- Modified: 2026-06-17T08:01:00.453Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Wordfence

## Description

The WP Ultimate Post Grid plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'wpupg-text' shortcode in all versions up to, and including, 3.9.1 due to insufficient input sanitization and output escaping on user supplied attributes. 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 an injected page.

(As written by CVE List.)

## Affected

- brechtvds WP Ultimate Post Grid: up to 3.9.1

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/14e897f0-11e6-43b1-908c-be4ecdc7fd58?source=cve>
- <https://plugins.trac.wordpress.org/browser/wp-ultimate-post-grid/trunk/includes/public/shortcodes/general/class-wpupg-sc-text.php#L97>
- <https://plugins.trac.wordpress.org/changeset/3086319/>
- <https://wordpress.org/plugins/wp-ultimate-post-grid/#developers>

## Sources

- CVE List: [CVE-2024-4043](https://www.cve.org/CVERecord?id=CVE-2024-4043), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-4043](https://nvd.nist.gov/vuln/detail/CVE-2024-4043), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-4043 · Whole record: https://cve.day/CVE-2024-4043.json · Rebuilt by cve.day 2026-11-25T22:58:40.755Z
