What the vulnerability does
01Description
The VikRentItems – Flexible Rental Management System plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the customer email field of the booking checkout form in versions up to, and including, 1.2.1. This is due to insufficient input sanitization and output escaping in the saveorder() function, which stores the raw email value via VikRequest::getString() (applying only sanitize_text_field(), which does not neutralize HTML attribute-breaking characters such as double quotes), and in the editorder template which echoes the stored custmail value into an HTML input element's value attribute without esc_attr(). This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Explanation of Vulnerability in Simple Terms
02Summary
VikRentItems versions 1.2.1 and earlier contain a cross-site scripting vulnerability that allows attackers to inject malicious scripts affecting multiple users. The vulnerability requires no authentication or user interaction beyond visiting a compromised page. An attacker can inject code that executes in visitors' browsers, potentially stealing session data or performing actions on their behalf.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in other users' browsers and affects the site across multiple pages.
Potential impact on your site
04Site Impact
Visitors' browsers can be compromised; attackers may steal login tokens, deface content, or redirect users.
Conditions required to exploit
05Prerequisites
Network access only; no authentication or user action required beyond visiting a page.
Key dates
06Disclosure timeline
August 5, 2026
CVE published