Google Tag Manager for WordPress <= 1.15 - Reflected Cross-Site Scripting via Site Search
No fixed version listed yet.Check the vendor advisory. References ↓
duracelltomi · GTM4WP – A Google Tag Manager (GTM) plugin for WordPress
The Google Tag Manager for WordPress (GTM4WP) plugin, in versions up to and including 1.15, contains a reflected cross-site scripting flaw in its frontend code, where the site search parameter "s" is written into the data layer without sufficient sanitisation. An unauthenticated attacker can exploit this by getting a user to open a crafted link or visit a page containing it, which injects script that runs in the victim's browser session on the affected site.
Official description · CVE.org
The Google Tag Manager for WordPress plugin for WordPress is vulnerable to reflected Cross-Site Scripting via the s parameter due to the site search populating into the data layer of sites with insufficient sanitization in versions up to an including 1.15. The affected file is ~/public/frontend.php and this could be exploited by unauthenticated attackers.
- Exploited
- Not confirmed
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Disclosed on 13 Jun 2022. No public exploit code or confirmed exploitation is recorded.
Affected versions and fixes
as published in the CVE recordduracelltomi GTM4WP – A Google Tag Manager (GTM) plugin for WordPress
Affected: <= 1.15