Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
4.3

CVE-2014-9174: Yoast Google Analytics plugin lets attackers add malicious script

CVE-2014-9174 · published 11 years ago
Summary

The Google Analytics by Yoast plugin for WordPress (versions before 5.1.3) lets a remote attacker place their own script or HTML into the "Manually enter your UA code" setting. This can cause unwanted code to run in visitors' browsers and potentially steal data or modify the site appearance. Update the plugin to the latest version or remove the vulnerable setting to protect your site.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
yoast google_analytics <= 5.1.2
5.1
5.1.1
cpe:2.3:a:yoast:google_analytics:*:*:*:*:*:wordpress:*:*
Original advisory text
Cross-site scripting (XSS) vulnerability in the Google Analytics by Yoast (google-analytics-for-wordpress) plugin before 5.1.3 for WordPress allows remote attackers to inject arbitrary web script o...
Cross-site scripting (XSS) vulnerability in the Google Analytics by Yoast (google-analytics-for-wordpress) plugin before 5.1.3 for WordPress allows remote attackers to inject arbitrary web script or HTML via the "Manually enter your UA code" (manual_ua_code_field) field in the General Settings.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit (estimated)
  • Gives an attacker partial control (estimated)
Severity
4.3 Medium
Exploitation
2% chance of attack within 30 days
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published2 Dec 2014
Updated4 Nov 2026
First seen29 Sep 2026
Sources
CVE-2014-9174 · NVD
Track software like this
Free during beta