Google Tag Manager for WordPress <= 1.15 - Reflected Cross-Site Scripting via Site Search

Summary

CVECVE-2022-1707
StatePUBLISHED
AssignerWordfence
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-06-13 13:15:11 UTC
Updated2026-04-08 17:16:43 UTC
DescriptionThe 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')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary6.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
3.1[email protected]Secondary6.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
3.1CNADECLARED6.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
2.0[email protected]Primary4.3AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:M/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Gtm4wp Google Tag Manager All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Duracelltomi GTM4WP A Google Tag Manager GTM Plugin For WordPress affected 1.15 semver Not specified

References

ReferenceSourceLinkTags
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

SourceTimeEvent
CNA2022-05-19T00:00:00.000ZDisclosed
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report