Description
The Lockme OAuth2 calendars integration plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'App ID' setting in all versions up to, and including, 2.11.0. This is due to insufficient input sanitization and output escaping. The register_setting() call on line 197 lacks a sanitize callback, allowing unsanitized data to be stored via update_option(). When the settings page is rendered, the stored value is echoed directly into an HTML input's value attribute without esc_attr() on line 212. This makes it possible for authenticated attackers, with administrator-level access and above, to inject arbitrary web scripts in the settings page that will execute whenever a user accesses the plugin settings page. Multiple fields are affected: App ID (client_id), App Secret (client_secret), Bookings ID prefix (id_prefix), and API domain (api_domain). This vulnerability is particularly impactful in WordPress multisite installations where administrators of individual sites should not be able to execute JavaScript affecting other users.
References10
- plugins.trac.wordpress.org/browser/lockme-calendars-integration…
- plugins.trac.wordpress.org/browser/lockme-calendars-integration…
- plugins.trac.wordpress.org/browser/lockme-calendars-integration…
- plugins.trac.wordpress.org/browser/lockme-calendars-integration…
- plugins.trac.wordpress.org/browser/lockme-calendars-integration…
- plugins.trac.wordpress.org/browser/lockme-calendars-integration…
- plugins.trac.wordpress.org/browser/lockme-calendars-integration…
- plugins.trac.wordpress.org/browser/lockme-calendars-integration…
- plugins.trac.wordpress.org/browser/lockme-calendars-integration…
- plugins.trac.wordpress.org/browser/lockme-calendars-integration…
Metrics
- CVSS 3.1
-
4.4
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 36 · as of 15 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.