CVEvulnerability
CVE-2022-1707
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-06-13
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-79
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.
Affected configurations
• gtm4wp google tag manager (< 1.15.1)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/duracelltomi/gtm4wp/blob/1.15/public/frontend.php#L298 Product
- https://github.com/duracelltomi/gtm4wp/blob/1.15/public/frontend.php#L782 Product
- https://github.com/duracelltomi/gtm4wp/issues/224 Issue Tracking
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0435ae14-c1fd-4611-acbe-5f3bafd4bb6a?source=cve Third Party Advisory
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-1707 Third Party Advisory
- https://github.com/duracelltomi/gtm4wp/blob/1.15/public/frontend.php#L298 Product
- https://github.com/duracelltomi/gtm4wp/blob/1.15/public/frontend.php#L782 Product
- https://github.com/duracelltomi/gtm4wp/issues/224 Issue Tracking
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0435ae14-c1fd-4611-acbe-5f3bafd4bb6a?source=cve Third Party Advisory
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-1707 Third Party Advisory