The Embed Bokun plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘align’ parameter in all versions up to, and including, 0.23 due to insufficient input sanitization and output escaping. This vulnerability allows authenticated attackers with Contributor-level access and above to inject arbitrary web scripts into pages, which will execute whenever a user accesses the affected page.
Details
| Severity | Base Score | CVE |
|---|---|---|
| MEDIUM | 6.4 | CVE-2025-6221 |
Exploitation
To exploit this vulnerability, an authenticated attacker with Contributor-level access can manipulate the ‘align’ parameter in the Embed Bokun plugin. By injecting malicious scripts into this parameter, the attacker can execute arbitrary web scripts on pages viewed by other users, leading to potential data theft or session hijacking.
Affected Products
- Embed Bokun plugin for WordPress: A plugin that allows users to embed Bokun booking forms into their WordPress sites, vulnerable to XSS attacks due to improper input handling.
Mitigation
To mitigate this vulnerability, it is recommended to update the Embed Bokun plugin to the latest version where the issue has been addressed. Additionally, implementing proper input validation and output escaping can help prevent similar vulnerabilities in the future.
