# CVE-2022-1961: Google Tag Manager for WordPress (GTM4WP) <= 1.15.1 - Stored Cross-Site Scripting via Content Element ID

- Severity: Medium 5.5 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.14%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-13T13:11:47.000Z
- Modified: 2026-06-17T04:23:25.937Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- duracelltomi GTM4WP – A Google Tag Manager (GTM) plugin for WordPress: up to 1.15.1
- gtm4wp google_tag_manager: before 1.15.2

## Every score

- Wordfence: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://gist.github.com/Xib3rR4dAr/02a21cd0ea0b7bf586131c5eebb69f1d> (exploit, third-party-advisory)
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/202c14d0-9207-47cb-9410-ca4c70d7b6d2?source=cve> (third-party-advisory)
- <https://wordpress.org/plugins/duracelltomi-google-tag-manager/#developers> (product, release-notes)
- <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://www.wordfence.com/vulnerability-advisories/#CVE-2022-1961> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-1961](https://www.cve.org/CVERecord?id=CVE-2022-1961), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2022-1961](https://nvd.nist.gov/vuln/detail/CVE-2022-1961), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-1961 · Whole record: https://cve.day/CVE-2022-1961.json · Rebuilt by cve.day 2026-11-25T22:58:12.249Z
