forked from nelson-ai/blazegraph-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The current implementation does not provide automated escaping of SPARQL inputs.
Example:
const result = await SELECT`
select * where {
?s rdfs:label ?x.
FILTER( ?x = "${str}" )
}`The problem here is that if str variable comes from the user and not sanitized it could lead to SPARQL injection.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request