Skip to content

Commit 7243d34

Browse files
committed
1 parent f4d0969 commit 7243d34

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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

src/main/java/org/fugerit/java/junit5/tag/check/facade/TagSurefireFacade.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import org.dom4j.Document;
55
import org.dom4j.Element;
66
import org.dom4j.io.SAXReader;
7+
import org.fugerit.java.core.function.SafeFunction;
78
import org.fugerit.java.junit5.tag.check.model.ExecutedTest;
89

910
import 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(

0 commit comments

Comments
 (0)