CVEvulnerability
CVE-2026-3516
6.4 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2026-03-21
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
Description
The Contact List plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the '_cl_map_iframe' parameter in all versions up to, and including, 3.0.18. This is due to insufficient input sanitization and output escaping when handling the Google Maps iframe custom field. The saveCustomFields() function in class-contact-list-custom-fields.php uses a regex to extract <iframe> tags from user input but does not validate or sanitize the iframe's attributes, allowing event handlers like 'onload' to be included. The extracted iframe HTML is stored via update_post_meta() and later rendered on the front-end in class-cl-public-card.php without any escaping or wp_kses filtering. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://plugins.trac.wordpress.org/browser/contact-list/tags/3.0.17/includes/class-contact-list-custom-fields.php#L675 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/contact-list/tags/3.0.17/includes/class-contact-list-custom-fields.php#L697 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/contact-list/tags/3.0.17/public/class-cl-public-card.php#L466 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/contact-list/trunk/includes/class-contact-list-custom-fields.php#L675 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/contact-list/trunk/includes/class-contact-list-custom-fields.php#L697 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/contact-list/trunk/public/class-cl-public-card.php#L466 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/changeset/3486445 plugins.trac.wordpress.org
- https://www.wordfence.com/threat-intel/vulnerabilities/id/a8059995-55cb-49ee-add1-f5364d0772eb?source=cve www.wordfence.com