CVE-2023-22665
MEDIUM 5.4CVSS 3.1Arbitrary javascript injection in Apache Jena
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
- 25 Apr 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-917
- Also known as
- GHSA-xgh5-gwq5-rpx8
- Sources
- NVDJSONOSV GHSA-xgh5-gwq5-rpx8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | jenacpe:2.3:a:apache:jena:*:*:*:*:*:*:*:* |
>= 3.7.0, <= 4.8.0 | |
| OSV | Maven | org.apache.jena:jena | < 4.8.0 | 4.8.0 |
References
- http://www.openwall.com/lists/oss-security/2023/07/11/11 · Mailing List, Third Party Advisory, WEB
- https://lists.apache.org/thread/s0dmpsxcwqs57l4qfs415klkgmhdxq7s · Issue Tracking, Mailing List, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-22665 · ADVISORY
- https://github.com/apache/jena · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 25 Apr 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Apr 2023)