Lockme OAuth2 calendars integration <= 2.11.0 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'App ID' Setting
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- lustmored Lockme calendars integration
through 2.11.0
References 14
plugins.trac.wordpress.org
- browser/lockme-calendars-integration/trunk/src/Plugin.php#L212
- browser/lockme-calendars-integration/tags/2.9.3/src/Plugin.php#L212
- browser/lockme-calendars-integration/trunk/src/Plugin.php#L223
- browser/lockme-calendars-integration/tags/2.9.3/src/Plugin.php#L223
- browser/lockme-calendars-integration/trunk/src/Plugin.php#L245
- browser/lockme-calendars-integration/tags/2.9.3/src/Plugin.php#L245
- browser/lockme-calendars-integration/trunk/src/Plugin.php#L256
- browser/lockme-calendars-integration/tags/2.9.3/src/Plugin.php#L256
- browser/lockme-calendars-integration/trunk/src/Plugin.php#L197
- browser/lockme-calendars-integration/tags/2.9.3/src/Plugin.php#L197
- browser/lockme-calendars-integration/trunk/src/Plugin.php#L54
- browser/lockme-calendars-integration/tags/2.9.3/src/Plugin.php#L54
- changeset?reponame=&old=3495564%40lockme-calendars-integration&new=3495564%40lockme-calendars-integration