{"id":"CVE-2023-22665","aliases":["CVE-2023-22665","GHSA-xgh5-gwq5-rpx8"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Jena: Exposure of arbitrary execution in script engine expressions.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2023-04-25T06:44:21.516Z","modified":"2026-06-17T05:35:53.417Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-917"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"4.7.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Jena","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.8.0"}],"ecosystem":"Maven","package":"org.apache.jena:jena","purl":"pkg:maven/org.apache.jena/jena","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.7.0","lastAffected":"4.8.0"}],"vendor":"apache","product":"jena","cpe":"cpe:2.3:a:apache:jena:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/s0dmpsxcwqs57l4qfs415klkgmhdxq7s","tags":["issue-tracking","mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2023/07/11/11","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22665","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/jena","tags":["package"],"sources":["ghsa"]}],"credits":["L3yx of Syclover Security Team"],"assigner":"apache","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-22665","url":"https://www.cve.org/CVERecord?id=CVE-2023-22665","licence":"CVE Terms of Use","modified":"2025-02-13T16:44:03.940Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xgh5-gwq5-rpx8","url":"https://github.com/advisories/GHSA-xgh5-gwq5-rpx8","licence":"CC-BY-4.0","modified":"2024-02-16T08:20:21.079Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-22665","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22665","licence":"Public domain","modified":"2026-06-17T05:35:53.417Z"}],"updatedAt":"2026-11-25T22:58:23.736Z","epss":{"score":0.01335,"percentile":0.72016,"date":"2026-12-01T12:00:22.000Z"}}