{"id":"CVE-2023-31415","details":"Kibana version 8.7.0 contains an arbitrary code execution flaw. An attacker with All privileges to the Uptime/Synthetics feature could send a request that will attempt to execute JavaScript code. This could lead to the attacker executing arbitrary commands on the host system with permissions of the Kibana process.","modified":"2026-08-12T03:51:21.909593730Z","published":"2023-05-04T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31415.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"version 8.7.0"},{"last_affected":"version 8.7.0"}]}],"cna_assigner":"elastic","cwe_ids":["CWE-94"]},"references":[{"type":"WEB","url":"https://discuss.elastic.co/t/kibana-8-7-1-security-updates/332330"},{"type":"WEB","url":"https://www.elastic.co/community/security/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31415.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31415"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/elastic/elasticsearch","events":[{"introduced":"09520b59b6bc1057340b55750186466ea715e30e"},{"last_affected":"09520b59b6bc1057340b55750186466ea715e30e"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:elastic:kibana:8.7.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"8.7.0"},{"last_affected":"8.7.0"}]}}],"versions":["8.7.0","v8.7.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-31415.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/elastic/kibana","events":[{"introduced":"05f12599523732051b84dde0b8d5610e0db2b06d"},{"last_affected":"05f12599523732051b84dde0b8d5610e0db2b06d"}],"database_specific":{"cpe":"cpe:2.3:a:elastic:kibana:8.7.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"8.7.0"},{"last_affected":"8.7.0"}],"source":"CPE_STRING"}}],"versions":["8.7.0","v8.7.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-31415.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}