{"id":"GHSA-xgh5-gwq5-rpx8","summary":"Arbitrary javascript injection in Apache Jena","details":"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.","aliases":["CVE-2023-22665"],"modified":"2024-02-16T08:20:21.079902Z","published":"2023-04-25T09:30:29Z","database_specific":{"cwe_ids":["CWE-917"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-04-25T19:47:40Z","nvd_published_at":"2023-04-25T07:15:08Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22665"},{"type":"PACKAGE","url":"https://github.com/apache/jena"},{"type":"WEB","url":"https://lists.apache.org/thread/s0dmpsxcwqs57l4qfs415klkgmhdxq7s"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2023/07/11/11"}],"affected":[{"package":{"name":"org.apache.jena:jena","ecosystem":"Maven","purl":"pkg:maven/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-xgh5-gwq5-rpx8/GHSA-xgh5-gwq5-rpx8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}