# VikRentCar Car Rental Management System <= 1.4.6 - Reflected Cross-Site Scripting via 'layoutstyle' Parameter

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

## Description

The VikRentCar Car Rental Management System plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'layoutstyle' parameter of the front-end cars list view in all versions up to, and including, 1.4.6, due to insufficient input sanitization and output escaping. The value is read from the request and echoed into an HTML class attribute without escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

## References

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

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

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.
