# WP Inventory Manager <= 2.5.11 - Unauthenticated HTML Injection via Reservation Form

- **ID:** WPSEC-2026-4689
- **Plugin:** WP Inventory Manager (`wp-inventory-manager`), https://wordpress.org/plugins/wp-inventory-manager/
- **Affected versions:** all versions before 2.5.12
- **Fixed in:** 2.5.12 (Update to 2.5.12 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-80
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-05)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-inventory-manager
- **Fix released:** 2026-12-04
- **Published:** 2026-12-05
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4689/

## Description

The WP Inventory Manager plugin for WordPress is vulnerable to HTML Injection via the reservation form in all versions up to, and including, 2.5.11, due to visitor-supplied form values being placed into the reservation e-mails without neutralisation and the confirmation recipient address not being validated. The values are only passed through sanitize_text_field(), which leaves entity-encoded markup in place, and the plugin's mail wrapper runs html_entity_decode() over the message, so the markup arrives as live HTML. The confirmation address can also be a comma-separated list, and reservations are accepted for items that do not exist. This makes it possible for unauthenticated attackers, on sites where reservations are enabled (the default), to inject arbitrary HTML such as phishing links into reservation e-mails and to have confirmation e-mails carrying that content sent from the site to arbitrary recipients.

## References

- https://wpsec.com/vuln/WPSEC-2026-4689/
- https://plugins.svn.wordpress.org/wp-inventory-manager/tags/2.5.12/
- https://wordpress.org/plugins/wp-inventory-manager/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4689/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
