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.
https://lists.apache.org/thread/s0dmpsxcwqs57l4qfs415klkgmhdxq7s
http://www.openwall.com/lists/oss-security/2023/07/11/11
Source: Mitre, NVD
Published: 2023-04-25
Updated: 2024-01-21
Base Score: 5.5
Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:N
Severity: Medium
Base Score: 5.4
Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS: 0.00627