cve-2018-3810

CRITICAL CVSS 9.8 opencve
Description

Authentication Bypass vulnerability in the Oturia Smart Google Code Inserter plugin before 3.5 for WordPress allows unauthenticated attackers to insert arbitrary JavaScript or HTML code (via the sgcgoogleanalytic parameter) that runs on all pages served by WordPress. The saveGoogleCode() function in smartgooglecode.php does not check if the current request is made by an authorized user, thus allowing any unauthenticated user to successfully update the inserted code.

Timeline
Published
2018-01-01 06:29 UTC
Last Modified
2026-06-17
CVSS Details

CVSS details not available.

Affected Products

No product information available.

Weaknesses (CWE)
CVSS metrics
Version Base Severity Vector Exploitability Impact Source
3.0 9.8 CRITICAL CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H nvd
3.0 9.8 CRITICAL CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H opencve
References

No references available.

Linked Vulnerabilities

No linked vulnerabilities found.

{
  "cve": "CVE-2018-3810",
  "epss": {
    "score": 0.91141
  },
  "mitre": {
    "cpes": [],
    "created": "2018-01-01T06:00:00+00:00",
    "description": "Authentication Bypass vulnerability in the Oturia Smart Google Code Inserter plugin before 3.5 for WordPress allows unauthenticated attackers to insert arbitrary JavaScript or HTML code (via the sgcgoogleanalytic parameter) that runs on all pages served by WordPress. The saveGoogleCode() function in smartgooglecode.php does not check if the current request is made by an authorized user, thus allowing any unauthenticated user to successfully update the inserted code.",
    "metrics": {
      "cvssV2_0": {},
      "cvssV3_0": {},
      "cvssV3_1": {},
      "cvssV4_0": {}
    },
    "mitre_repo_path": "cves/2018/3xxx/CVE-2018-3810.json",
    "references": [
      "https://limbenjamin.com/articles/smart-google-code-inserter-auth-bypass.html",
      "https://wordpress.org/plugins/smart-google-code-inserter/#developers",
      "https://wpvulndb.com/vulnerabilities/8987",
      "https://www.exploit-db.com/exploits/43420/"
    ],
    "title": null,
    "updated": "2024-08-05T04:57:22.993000+00:00",
    "vendors": [],
    "weaknesses": []
  },
  "nvd": {
    "cpes": [
      "cpe:2.3:a:oturia:smart_google_code_inserter:*:*:*:*:*:wordpress:*:*"
    ],
    "created": "2018-01-01T06:29:00.217000+00:00",
    "description": "Authentication Bypass vulnerability in the Oturia Smart Google Code Inserter plugin before 3.5 for WordPress allows unauthenticated attackers to insert arbitrary JavaScript or HTML code (via the sgcgoogleanalytic parameter) that runs on all pages served by WordPress. The saveGoogleCode() function in smartgooglecode.php does not check if the current request is made by an authorized user, thus allowing any unauthenticated user to successfully update the inserted code.",
    "metrics": {
      "cvssV2_0": {
        "score": 7.5,
        "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"
      },
      "cvssV3_0": {
        "score": 9.8,
        "vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
      },
      "cvssV3_1": {},
      "cvssV4_0": {}
    },
    "nvd_repo_path": "2018/CVE-2018-3810.json",
    "references": [
      "https://limbenjamin.com/articles/smart-google-code-inserter-auth-bypass.html",
      "https://wordpress.org/plugins/smart-google-code-inserter/#developers",
      "https://wpvulndb.com/vulnerabilities/8987",
      "https://www.exploit-db.com/exploits/43420/"
    ],
    "title": null,
    "updated": "2026-06-17T01:57:49.750000+00:00",
    "vendors": [
      "oturia",
      "oturia$PRODUCT$smart_google_code_inserter"
    ],
    "weaknesses": [
      "CWE-287"
    ]
  },
  "opencve": {
    "changes": [],
    "cpes": {
      "data": [
        "cpe:2.3:a:oturia:smart_google_code_inserter:*:*:*:*:*:wordpress:*:*"
      ],
      "providers": [
        "nvd"
      ]
    },
    "created": {
      "data": "2018-01-01T06:00:00+00:00",
      "provider": "mitre"
    },
    "description": {
      "data": "Authentication Bypass vulnerability in the Oturia Smart Google Code Inserter plugin before 3.5 for WordPress allows unauthenticated attackers to insert arbitrary JavaScript or HTML code (via the sgcgoogleanalytic parameter) that runs on all pages served by WordPress. The saveGoogleCode() function in smartgooglecode.php does not check if the current request is made by an authorized user, thus allowing any unauthenticated user to successfully update the inserted code.",
      "provider": "mitre"
    },
    "metrics": {
      "cvssV2_0": {
        "data": {
          "score": 7.5,
          "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"
        },
        "provider": "nvd"
      },
      "cvssV3_0": {
        "data": {
          "score": 9.8,
          "vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        "provider": "nvd"
      },
      "cvssV3_1": {
        "data": {},
        "provider": null
      },
      "cvssV4_0": {
        "data": {},
        "provider": null
      },
      "epss": {
        "data": {
          "score": 0.91141
        },
        "provider": "first"
      },
      "kev": {
        "data": {},
        "provider": null
      },
      "ssvc": {
        "data": {},
        "provider": null
      },
      "threat_severity": {
        "data": null,
        "provider": null
      }
    },
    "references": {
      "data": [
        "https://limbenjamin.com/articles/smart-google-code-inserter-auth-bypass.html",
        "https://wordpress.org/plugins/smart-google-code-inserter/#developers",
        "https://wpvulndb.com/vulnerabilities/8987",
        "https://www.exploit-db.com/exploits/43420/"
      ],
      "providers": [
        "mitre",
        "nvd"
      ]
    },
    "title": {
      "data": null,
      "provider": null
    },
    "updated": {
      "data": "2024-11-21T04:06:04.747000+00:00",
      "provider": "nvd"
    },
    "vendors": {
      "data": [
        "oturia",
        "oturia$PRODUCT$smart_google_code_inserter"
      ],
      "providers": [
        "nvd"
      ]
    },
    "weaknesses": {
      "data": [
        "CWE-287"
      ],
      "providers": [
        "nvd"
      ]
    }
  }
}
Enrichment data
View JSON API Download JSON