# VikRentCar Car Rental Management System <= 1.4.9 - Unauthenticated Stored Cross-Site Scripting via Custom Field Name and Popup Link

- **ID:** WPSEC-2026-1731
- **Plugin:** VikRentCar Car Rental Management System (`vikrentcar`), https://wordpress.org/plugins/vikrentcar/
- **Affected versions:** from 1.4.0 before 1.4.10
- **Fixed in:** 1.4.10 (Update to 1.4.10 or later.)
- **Severity:** High 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-10-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/vikrentcar
- **Fix released:** 2026-10-26
- **Published:** 2026-10-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1731/

## Description

The VikRentCar Car Rental Management System plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'name' and 'poplink' parameters of the terms-of-service custom field saving task (customf.savetosajax) in versions 1.4.0 up to, and including, 1.4.9, due to a missing capability and admin-context check on that task, which is also processed on front-end requests and is protected only by a nonce printed on public pages, combined with insufficient output escaping of custom field names and popup links. This makes it possible for unauthenticated attackers to modify any custom field and inject arbitrary web scripts in pages that will execute whenever a user accesses the car details or order confirmation pages.

## References

- https://wpsec.com/vuln/WPSEC-2026-1731/
- https://plugins.svn.wordpress.org/vikrentcar/tags/1.4.10/
- https://wordpress.org/plugins/vikrentcar/

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

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.
