{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-22665","id":"CVE-2023-22665","title":"Apache Jena: Exposure of arbitrary execution in script engine expressions.","description":"There is insufficient checking of user queries in Apache Jena versions 4.7.0 and earlier, when invoking custom scripts. It allows a remote user to execute arbitrary javascript via a SPARQL query.","descriptionLong":"There is insufficient checking of user queries in Apache Jena versions 4.7.0 and earlier, when invoking custom scripts. It allows a remote user to execute arbitrary javascript via a SPARQL query.","published":"2023-04-25T06:44:21.516Z","updated":"2026-06-17T05:35:53.417Z","reserved":"2023-01-05T14:41:04.515Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Apache Software Foundation Apache Jena"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Jena","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"4.7.0","status":"affected","version":"0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.jena:jena","purl":"pkg:maven/org.apache.jena/jena","ranges":["<4.8.0"],"fixed":["4.8.0"],"advisory":"GHSA-xgh5-gwq5-rpx8"}],"cwes":["CWE-917"],"aliases":["GHSA-xgh5-gwq5-rpx8"],"references":[{"url":"https://lists.apache.org/thread/s0dmpsxcwqs57l4qfs415klkgmhdxq7s","tags":["vendor-advisory","x_transferred","Issue Tracking","Mailing List","report","web"]},{"url":"http://www.openwall.com/lists/oss-security/2023/07/11/11","tags":["x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22665","tags":["advisory"]},{"url":"https://github.com/apache/jena","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01335,"epssPercentile":0.71802,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-22665","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22665","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-22665","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xgh5-gwq5-rpx8","ok":true,"note":"GHSA-xgh5-gwq5-rpx8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-22665","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}