Read the docs
TI-2023-08840 Aliases CVE-2023-22665GHSA-xgh5-gwq5-rpx8

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

Priority LOW 27CWE-917Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-917.

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.

Why it matters now

EPSS 0.01335 71st percentileScored 2026-11-08
Fix Fixed org.apache.jena:jena (Maven): 4.8.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Jenaup to 4.7.0—No fix listedCNA
—org.apache.jena:jena (Maven)before 4.8.04.8.0Patch availableGHSA-xgh5-gwq5-rpx8
  • Apache Jena VendorApache Affected up to 4.7.0 Fixed in — No fix listed CNA
  • org.apache.jena:jena (Maven) Vendor— Affected before 4.8.0 Fixed in 4.8.0 Patch available GHSA-xgh5-gwq5-rpx8

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:jena:*:*:*:*:*:*:*:*3.7.0 – 4.8.0VulnerableApache
  • cpe:2.3:a:apache:jena:*:*:*:*:*:*:*:* Versions 3.7.0 – 4.8.0 Vulnerable ·Apache

Remediation

  • Fix · GHSA-xgh5-gwq5-rpx8 org.apache.jena:jena (Maven) Fixed in 4.8.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-22665
  2. 2026-10-03 Alias added: GHSA-xgh5-gwq5-rpx8

References

  • TI-2022-11511 Processing external DTDs CVSS 3.1CRITICAL 9.8
  • TI-2023-15499 Apache Jena: Exposure of execution in script engine expressions. CVSS 3.1HIGH 8.8
  • TI-2025-32034 Apache Jena: Configuration files uploaded by administrative users are not check properly CVSS 3.1HIGH 8.8
  • TI-2025-31627 Apache Jena: Administrative users can create files outside the server directory space via the admin UI CVSS 3.1HIGH 7.5
  • TI-2021-16624 XML external entity (XXE) in Apache Jena CVSS 3.1HIGH 7.5

Sources