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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Jena | up to 4.7.0 | — | No fix listed | CNA |
| — | org.apache.jena:jena (Maven) | before 4.8.0 | 4.8.0 | Patch available | GHSA-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
Remediation
- Fix · GHSA-xgh5-gwq5-rpx8 org.apache.jena:jena (Maven) Fixed in 4.8.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-22665
- 2026-10-03 Alias added: GHSA-xgh5-gwq5-rpx8
References
More Apache Jena vulnerabilities
- 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
- CVE-2023-22665 · CVE Program
- CVE-2023-22665 · NVD
- FIRST EPSS
- GHSA-xgh5-gwq5-rpx8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences