CVE-2022-1961

The Google Tag Manager for WordPress (GTM4WP) plugin is vulnerable to Stored Cross-Site Scripting due to insufficient escaping via the `gtm4wp-options[scroller-contentid]` parameter found in the `~/public/frontend.php` file which allowed attackers with administrative user access to inject arbitrary web scripts, in versions up to and including 1.15.1. This affects multi-site installations where unfiltered_html is disabled for administrators, and sites where unfiltered_html is disabled.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gtm4wp:google_tag_manager:*:*:*:*:*:wordpress:*:*

History

21 Nov 2024, 06:41

Type Values Removed Values Added
References () https://gist.github.com/Xib3rR4dAr/02a21cd0ea0b7bf586131c5eebb69f1d - Exploit, Third Party Advisory () https://gist.github.com/Xib3rR4dAr/02a21cd0ea0b7bf586131c5eebb69f1d - Exploit, Third Party Advisory
References () https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2732977%40duracelltomi-google-tag-manager&new=2732977%40duracelltomi-google-tag-manager&sfp_email=&sfph_mail= - Patch () https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2732977%40duracelltomi-google-tag-manager&new=2732977%40duracelltomi-google-tag-manager&sfp_email=&sfph_mail= - Patch
References () https://wordpress.org/plugins/duracelltomi-google-tag-manager/#developers - Product, Release Notes () https://wordpress.org/plugins/duracelltomi-google-tag-manager/#developers - Product, Release Notes
References () https://www.wordfence.com/threat-intel/vulnerabilities/id/202c14d0-9207-47cb-9410-ca4c70d7b6d2?source=cve - Third Party Advisory () https://www.wordfence.com/threat-intel/vulnerabilities/id/202c14d0-9207-47cb-9410-ca4c70d7b6d2?source=cve - Third Party Advisory
References () https://www.wordfence.com/vulnerability-advisories/#CVE-2022-1961 - Third Party Advisory () https://www.wordfence.com/vulnerability-advisories/#CVE-2022-1961 - Third Party Advisory
CVSS v2 : 3.5
v3 : 4.8
v2 : 3.5
v3 : 5.5

Information

Published : 2022-06-13 14:15

Updated : 2025-05-05 17:17


NVD link : CVE-2022-1961

Mitre link : CVE-2022-1961

CVE.ORG link : CVE-2022-1961


JSON object : View

Products Affected

gtm4wp

  • google_tag_manager
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')