{"id":"CVE-2023-22665","aliases":["DEBIAN-CVE-2023-22665","EUVD-2023-1426","GHSA-xgh5-gwq5-rpx8","UBUNTU-CVE-2023-22665"],"status":"published","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.","severity":{"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","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01335,"percentile":0.71426,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-917"],"published":"2023-04-25T06:44:21Z","modified":"2026-10-26T18:01:36Z","fixes":[{"ecosystem":"Maven","package":"org.apache.jena:jena","fixed_in":["4.8.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:13","package":"apache-jena","fixed_in":["4.9.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"apache-jena","fixed_in":["4.9.0-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.jena:jena","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.8.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"apache-jena","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.5.0-2","4.9.0-1"]},{"source":"osv","ecosystem":"Debian:13","package":"apache-jena","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.9.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"apache-jena","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.9.0-1"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.jena:jena","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.8.0"}]}],"versions":["2.10.0","2.10.1","2.11.0","2.11.1","2.11.2","2.12.0","2.12.1","2.13.0","2.7.1","2.7.2","2.7.3","2.7.4","3.0.0","3.0.1","3.1.0","3.1.1","3.10.0","3.11.0","3.12.0","3.13.0","3.13.1","3.14.0","3.15.0","3.16.0","3.17.0","3.2.0","3.3.0","3.4.0","3.5.0","3.6.0","3.7.0","3.8.0","3.9.0","4.0.0","4.1.0","4.2.0","4.3.0","4.3.1","4.3.2","4.4.0","4.5.0","4.6.0","4.6.1","4.7.0"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"apache-jena","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.17.0-1","3.17.0-2","3.17.0-3"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"apache-jena","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.5.0-2","4.9.0-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"apache-jena","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"apache-jena","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9.0-1build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"apache-jena","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9.0-1","4.9.0-1build1"]}],"products":[{"vendor":"apache","product":"jena"},{"vendor":"apache software foundation","product":"apache jena"}],"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/advisories/GHSA-xgh5-gwq5-rpx8"},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-22665","tags":["advisory"]},{"url":"https://github.com/apache/jena","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2023-22665","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-22665","tags":["report"]}],"sources":{"cve":[{"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.","status":"published","published":"2023-04-25T06:44:21.516Z","modified":"2025-02-13T16:44:03.94Z","cwes":["CWE-917"],"updated_at":"2026-11-02T14:35:15.779187Z"}],"euvd":[{"id":"EUVD-2023-1426","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.","status":"published","published":"2023-04-25T06:44:21Z","modified":"2025-02-13T16:44:03Z","updated_at":"2026-11-03T00:03:51.372924Z"}],"ghsa":[{"id":"GHSA-xgh5-gwq5-rpx8","title":"Arbitrary javascript injection in Apache Jena","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.","status":"published","published":"2023-04-25T09:30:29Z","modified":"2023-11-07T05:06:06Z","cvss":[{"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","level":"medium"}],"cwes":["CWE-917"],"updated_at":"2026-11-02T14:37:15.931647Z"}],"nvd":[{"id":"CVE-2023-22665","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.","status":"published","published":"2023-04-25T07:15:08.137Z","modified":"2026-06-17T05:35:53.417Z","cvss":[{"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","level":"medium","assessor":"primary"}],"cwes":["CWE-917"],"updated_at":"2026-11-02T14:07:56.683259Z"}],"osv":[{"id":"CVE-2023-22665","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.","status":"published","published":"2023-04-25T07:15:08.137Z","modified":"2026-03-14T11:58:20.225977Z","cvss":[{"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","level":"medium"}],"updated_at":"2026-11-02T15:44:30.334753Z"},{"id":"DEBIAN-CVE-2023-22665","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.","status":"published","published":"2023-04-25T07:15:08.137Z","modified":"2026-10-26T18:01:36.228678988Z","cvss":[{"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","level":"medium"}],"updated_at":"2026-11-02T15:45:39.369204Z"},{"id":"GHSA-xgh5-gwq5-rpx8","title":"Arbitrary javascript injection in Apache Jena","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.","status":"published","published":"2023-04-25T09:30:29Z","modified":"2024-02-16T08:20:21.079902Z","cvss":[{"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","level":"medium"}],"cwes":["CWE-917"],"updated_at":"2026-11-02T15:46:59.835583Z"},{"id":"UBUNTU-CVE-2023-22665","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.","status":"published","published":"2023-04-25T07:15:00Z","modified":"2026-10-17T12:56:04.283795985Z","cvss":[{"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","level":"medium"}],"updated_at":"2026-11-02T16:54:20.198616Z"}]}}
