Google Tag Manager for WordPress <= 1.15 - Reflected Cross-Site Scripting via Site Search
Summary
| CVE | CVE-2022-1707 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-06-13 13:15:11 UTC |
| Updated | 2026-04-08 17:16:43 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.1 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 3.1 | [email protected] | Secondary | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 2.0 | [email protected] | Primary | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
NoneAV:N/AC:M/Au:N/C:N/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Gtm4wp | Google Tag Manager | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Duracelltomi | GTM4WP A Google Tag Manager GTM Plugin For WordPress | affected 1.15 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| gtm4wp/frontend.php at 1.15 · duracelltomi/gtm4wp · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Product |
| gtm4wp/frontend.php at 1.15 · duracelltomi/gtm4wp · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Product |
| Vulnerability Advisories - Wordfence | af854a3a-2127-422b-91ae-364da2661108 | www.wordfence.com | Third Party Advisory |
| Google Tag Manager for WordPress <= 1.15 - Reflected Cross-Site Scripting via Site Search | af854a3a-2127-422b-91ae-364da2661108 | www.wordfence.com | Third Party Advisory |
| No security policy · Issue #224 · duracelltomi/gtm4wp · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Issue Tracking |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Cory Buecker (en)
CNA: not_stoppable (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2022-05-19T00:00:00.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.