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
References
http://www.openwall.com/lists/oss-security/2023/07/11/11
https://lists.apache.org/thread/s0dmpsxcwqs57l4qfs415klkgmhdxq7s
Related Vulnerabilities
CVE-2020-5428 Vulnerability in maven package org.springframework.cloud:spring-cloud-task-core
CVE-2023-34189 Vulnerability in maven package org.apache.inlong:manager-web
CVE-2019-10754 Vulnerability in maven package org.apereo.cas:cas-server-support-oidc
CVE-2020-6858 Vulnerability in maven package com.hotels.styx:styx-api