Skip to content

Commit d65b91e

Browse files
committed
Exclude Neko-HtmlUnit from AntiSamy so we can use latest version.
1 parent 552625d commit d65b91e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,28 @@
254254
<groupId>org.owasp.antisamy</groupId>
255255
<artifactId>antisamy</artifactId>
256256
<version>1.6.7</version>
257+
<exclusions>
258+
<!-- Exclude this so we can grab version 2.61.0, which has a
259+
new DoS CVE fixed.
260+
-->
261+
<exclusion>
262+
<groupId>net.sourceforge.htmlunit</groupId>
263+
<artifactId>neko-htmlunit</artifactId>
264+
</exclusion>
265+
</exclusions>
266+
</dependency>
267+
<dependency>
268+
<groupId>net.sourceforge.htmlunit</groupId>
269+
<artifactId>neko-htmlunit</artifactId>
270+
<!-- This version fixes latest CVE in Neko-HtmlUnit. -->
271+
<version>2.61.0</version>
272+
<exclusions>
273+
<!-- excluded because this conflicts with the version imported by AntiSamy -->
274+
<exclusion>
275+
<groupId>xerces</groupId>
276+
<artifactId>xercesImpl</artifactId>
277+
</exclusion>
278+
</exclusions>
257279
</dependency>
258280
<dependency>
259281
<groupId>org.slf4j</groupId>

0 commit comments

Comments
 (0)