Patchfirst
CVE-2022-1707 Medium · 6.1 EPSS 89.3%

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

Summary

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.

Breakdown
24.2 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 13 Jun 2022. No public exploit code or confirmed exploitation is recorded.

Affected versions and fixes

as published in the CVE record

duracelltomi GTM4WP – A Google Tag Manager (GTM) plugin for WordPress

Affected: <= 1.15

References

4 links, grouped by NVD tag (1 duplicate merged)
↑ ↓ chooseEnter openEsc close