Skip to content
Fencer Vulns
medium 5.4

CVE-2023-22665 json

Apache Jena: Exposure of arbitrary execution in script engine expressions.

published 2023-04-25 3 y ago modified 2026-06-17 4 mo ago also GHSA-xgh5-gwq5-rpx8 , EUVD-2023-1426

cvss
5.4
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.3%
EPSS 1.3% chance of exploitation in 30 days, percentile 71%
public exploits
0
none known

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.

Patch / fix

  • maven org.apache.jena:jena 4.8.0
  • apache-jena Debian 14, Debian 13 4.9.0-1

debian advisories DEBIAN-CVE-2023-22665

Exploit prediction

1.33% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
GitHub 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
maven org.apache.jena:jena
<4.8.0
4.8.0

Affected products

  • Apache Software Foundation Apache Jena

Classification

Weakness
  • CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.