github-advanced-security[bot] commented on code in PR #3106:
URL: https://github.com/apache/cxf/pull/3106#discussion_r3225242064
##########
rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/AbstractSTSClient.java:
##########
@@ -640,7 +641,10 @@
dbf.setFeature("http://apache.org/xml/features/disallow-doctype-decl",
true);
DocumentBuilder documentBuilder = dbf.newDocumentBuilder();
- Document document = documentBuilder.parse(schemaLocation);
+ Document document;
+ try (URIResolver resolver = new URIResolver(schemaLocation)) {
Review Comment:
## CodeQL / Server-side request forgery
Potential server-side request forgery due to a [user-provided value](1).
Potential server-side request forgery due to a [user-provided value](2).
Potential server-side request forgery due to a [user-provided value](3).
[Show more
details](https://github.com/apache/cxf/security/code-scanning/2216)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]