{"cve":"CVE-2023-22665","nvd":{"published":"2023-04-25T07:15:08.137","modified":"2026-06-17T05:35:53.417","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-917"],"references":["http://www.openwall.com/lists/oss-security/2023/07/11/11","https://lists.apache.org/thread/s0dmpsxcwqs57l4qfs415klkgmhdxq7s","http://www.openwall.com/lists/oss-security/2023/07/11/11","https://lists.apache.org/thread/s0dmpsxcwqs57l4qfs415klkgmhdxq7s"],"products":["apache:jena"],"source":"nvd","synced_at":"2026-10-19T21:38:05.473481323+00:00"},"epss":{"cve":"CVE-2023-22665","score":0.01335,"percentile":0.7119,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-xgh5-gwq5-rpx8","url":"https://osv.dev/vulnerability/GHSA-xgh5-gwq5-rpx8","summary":"Arbitrary javascript injection in Apache Jena","modified":"2024-02-16T08:20:21.079902Z","packages":[{"ecosystem":"Maven","name":"org.apache.jena:jena","purl":"pkg:maven/org.apache.jena/jena","ranges":["<4.8.0"],"fixed":["4.8.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}