CVE-2023-22665

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

Published Apr 25, 2023 CVSS 3.1 · 5.4 Medium EPSS 1.3% KEV · Not listed
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.

Remediation

Vendor Workaround

Users not using custom scripted functions are advised to run Java17 or later with no script engine added to the deployment.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-xgh5-gwq5-rpx8 Arbitrary javascript injection in Apache Jena
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00849}

epss

{'score': 0.00436}

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Feb 13, 2025, 4:44 PM
Reserved
Jan 5, 2023, 2:41 PM
Status
Modified
Published
Apr 25, 2023, 7:15 AM
Modified
Jun 17, 2026, 5:35 AM