CVE-2022-1707
published medium CVSS 3.1 · 6.1Google Tag Manager for WordPress <= 1.15 - Reflected Cross-Site Scripting via Site Search
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| duracelltomi | — | GTM4WP – A Google Tag Manager (GTM) plugin for WordPress0 through 1.15 · Other versions: unaffected | Affected | Not stated | Wordfence |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| duracelltomi | GTM4WP – A Google Tag Manager (GTM) plugin for WordPress | 0 through 1.15 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
2- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
5- https://github.com/duracelltomi/gtm4wp/blob/1.15/public/frontend.php#L298
- https://github.com/duracelltomi/gtm4wp/blob/1.15/public/frontend.php#L782
- https://github.com/duracelltomi/gtm4wp/issues/224
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0435ae14-c1fd-4611-acbe-5f3bafd4bb6a?source=cve
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-1707
Provider assertions
3Wordfence · cna
Google Tag Manager for WordPress <= 1.15 - Reflected Cross-Site Scripting via Site Search
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 738692c65099e1614af70d906e1df758b47c926990afe2fae7c2642b323fd5f2
- Ingested
- 23 Sep 2026, 07:57:48 UTC
- Source record
- Official CVE record