File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
src/main/java/org/fugerit/java/junit5/tag/check/facade Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616- fj-doc-version 8.17.9
1717- report generation engine with [ Venus Fugerit Doc] ( https://github.com/fugerit-org/fj-doc )
1818
19+ ### Fixed
20+
21+ - security issue < https://github.com/fugerit-org/junit5-tag-check-maven-plugin/security/code-scanning/1 >
22+
1923## [ 1.0.2] - 2025-11-26
2024
2125### Fixed
Original file line number Diff line number Diff line change 44import org .dom4j .Document ;
55import org .dom4j .Element ;
66import org .dom4j .io .SAXReader ;
7+ import org .fugerit .java .core .function .SafeFunction ;
78import org .fugerit .java .junit5 .tag .check .model .ExecutedTest ;
89
910import java .io .File ;
@@ -19,6 +20,7 @@ private TagSurefireFacade() {}
1920 public static List <ExecutedTest > parseSurefireReports ( File surefireReportsDirectory , boolean includeSkipped ) {
2021 List <ExecutedTest > executedTests = new ArrayList <>();
2122 SAXReader reader = new SAXReader ();
23+ SafeFunction .apply ( () -> reader .setFeature ("http://apache.org/xml/features/disallow-doctype-decl" , Boolean .TRUE ) );
2224
2325 // Find all XML report files
2426 File [] reportFiles = surefireReportsDirectory .listFiles (
You can’t perform that action at this time.
0 commit comments