{"api_version":"1","generated_at":"2026-07-23T11:07:16+00:00","cve":"CVE-2018-3810","urls":{"html":"https://cve.report/CVE-2018-3810","api":"https://cve.report/api/cve/CVE-2018-3810.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-3810","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-3810"},"summary":{"title":"CVE-2018-3810","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2018-01-01 06:29:00","updated_at":"2018-01-16 18:38:00"},"problem_types":["CWE-287"],"metrics":[],"references":[{"url":"https://wordpress.org/plugins/smart-google-code-inserter/#developers","name":"https://wordpress.org/plugins/smart-google-code-inserter/#developers","refsource":"MISC","tags":["Release Notes","Third Party Advisory"],"title":"Smart Google Code Inserter – WordPress plugin | WordPress.org","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://wpvulndb.com/vulnerabilities/8987","name":"https://wpvulndb.com/vulnerabilities/8987","refsource":"MISC","tags":["Third Party Advisory","VDB Entry"],"title":"Smart Google Code Inserter <= 3.4 - Unauthenticated Cross-Site Scripting (XSS)","mime":"text/html","httpstatus":"403","archivestatus":"200"},{"url":"https://limbenjamin.com/articles/smart-google-code-inserter-auth-bypass.html","name":"https://limbenjamin.com/articles/smart-google-code-inserter-auth-bypass.html","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"Smart Google Code Inserter < 3.5 - Auth Bypass/SQLi","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.exploit-db.com/exploits/43420/","name":"43420","refsource":"EXPLOIT-DB","tags":["Exploit","Third Party Advisory","VDB Entry"],"title":"WordPress Plugin Smart Google Code Inserter < 3.5 - Authentication Bypass / SQL Injection - PHP webapps Exploit","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-3810","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3810","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"3810","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oturia","cpe5":"smart_google_code_inserter","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"wordpress","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"3810","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oturia","cpe5":"smart_google_code_inserter","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"wordpress","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-3810","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://wordpress.org/plugins/smart-google-code-inserter/#developers","refsource":"MISC","url":"https://wordpress.org/plugins/smart-google-code-inserter/#developers"},{"name":"https://limbenjamin.com/articles/smart-google-code-inserter-auth-bypass.html","refsource":"MISC","url":"https://limbenjamin.com/articles/smart-google-code-inserter-auth-bypass.html"},{"name":"https://wpvulndb.com/vulnerabilities/8987","refsource":"MISC","url":"https://wpvulndb.com/vulnerabilities/8987"},{"name":"43420","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/43420/"}]}},"nvd":{"publishedDate":"2018-01-01 06:29:00","lastModifiedDate":"2018-01-16 18:38:00","problem_types":["CWE-287"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:oturia:smart_google_code_inserter:*:*:*:*:*:wordpress:*:*","versionEndExcluding":"3.5","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"3810","Ordinal":"119682","Title":"CVE-2018-3810","CVE":"CVE-2018-3810","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"3810","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"3810","Ordinal":"2","NoteData":"2018-01-01","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"3810","Ordinal":"3","NoteData":"2018-01-09","Type":"Other","Title":"Modified"}]}}}