BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2022-1961

MEDIUM 4.8 CVSS 3.1
Published
June 13, 2022
Last modified
June 17, 2026
NVD status
Modified
Reported by
security@wordfence.com
Weakness
CWE-79
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Description

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.

Affected WordPress components

  • GTM4WP – A Google Tag Manager (GTM) plugin for WordPress Plugin · duracelltomi-google-tag-manager
    Confirmed match Active
    Up to and including 1.15.1
    View on WordPress.org

A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.

Affected products and versions

  • duracelltomi GTM4WP – A Google Tag Manager (GTM) plugin for WordPress — Up to and including 1.15.1
  • gtm4wp google_tag_manager — Before 1.15.2

References

  • gist.github.com https://gist.github.com/Xib3rR4dAr/02a21cd0ea0b7bf586131c5eebb69f1d Exploit, Third Party Advisory
  • plugins.trac.wordpress.org 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
  • wordpress.org https://wordpress.org/plugins/duracelltomi-google-tag-manager/#developers Product, Release Notes
  • www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/202c14d0-9207-47cb-9410-ca4c70d7b6d2?source=cve Third Party Advisory
  • www.wordfence.com https://www.wordfence.com/vulnerability-advisories/#CVE-2022-1961 Third Party Advisory
  • nvd.nist.gov Official NVD record