Skip to content

Commit 12a2e31

Browse files
committed
Release 1.7.5 ready.
1 parent 3e84410 commit 12a2e31

File tree

2 files changed

+37
-28
lines changed

2 files changed

+37
-28
lines changed

SECURITY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ These are the known CVEs reported for AntiSamy:
3333
* AntiSamy CVE #3 - CVE-2021-35043: AntiSamy before 1.6.4 allows XSS via HTML attributes using &#00058 as replacement for : character - https://nvd.nist.gov/vuln/detail/CVE-2021-35043
3434
* AntiSamy CVE #4 - CVE-2022-28367: AntiSamy before 1.6.6 allows XSS via HTML tag smuggling on STYLE content - https://nvd.nist.gov/vuln/detail/CVE-2022-28367. NOTE: This release only included a PARTIAL fix.
3535
* AntiSamy CVE #5 - CVE-2022-29577: AntiSamy before 1.6.7 allows XSS via HTML tag smuggling on STYLE content - https://nvd.nist.gov/vuln/detail/CVE-2022-29577. This is the complete fix to the previous CVE.
36-
* AntiSamy CVE #6 - CVE-2023-43643: AntiSamy before 1.7.4 subject to mXSS when preserving comments - https://nvd.nist.gov/vuln/detail/CVE-2023-43643
36+
* AntiSamy CVE #6 - CVE-2023-43643: AntiSamy before 1.7.4 subject to mutation XSS (mXSS) when preserving comments - https://nvd.nist.gov/vuln/detail/CVE-2023-43643
37+
* AntiSamy CVE #7 - CVE-2024-23635: AntiSamy before 1.7.5 subject to mXSS when preserving comments - https://nvd.nist.gov/vuln/detail/CVE-2024-23635
3738

3839
CVEs in AntiSamy dependencies:
3940
* AntiSamy before 1.6.6 used the old CyberNeko HTML library net.sourceforge.nekohtml:nekohtml:1.9.22, which is subject to https://nvd.nist.gov/vuln/detail/CVE-2022-28366 and no longer maintained. AntiSamy 1.6.6 upgraded to an active fork of CyberNeko at net.sourceforge.htmlunit:neko-htmlunit which fixed this CVE in v2.27 of that library. AntiSamy 1.6.6 upgraded to net.sourceforge.htmlunit:neko-htmlunit:2.60.0

pom.xml

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>org.owasp.antisamy</groupId>
66
<artifactId>antisamy</artifactId>
77
<packaging>jar</packaging>
8-
<version>1.7.5-SNAPSHOT</version>
8+
<version>1.7.5</version>
99

1010
<distributionManagement>
1111
<snapshotRepository>
@@ -73,7 +73,7 @@
7373
<fluido.version>2.0.0-M8</fluido.version>
7474
<gpg.skip>true</gpg.skip><!-- by default skip gpg -->
7575
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
76-
<project.build.outputTimestamp>2023-12-18T21:08:34Z</project.build.outputTimestamp>
76+
<project.build.outputTimestamp>2024-02-02T15:23:04Z</project.build.outputTimestamp>
7777
<project.java.target>1.8</project.java.target>
7878
<version.findsecbugs>1.12.0</version.findsecbugs>
7979
<version.slf4j>2.0.11</version.slf4j>
@@ -92,55 +92,50 @@
9292

9393
<dependencies>
9494
<dependency>
95-
<groupId>org.htmlunit</groupId>
96-
<artifactId>neko-htmlunit</artifactId>
97-
<version>3.11.0</version>
95+
<groupId>commons-io</groupId>
96+
<artifactId>commons-io</artifactId>
97+
<version>2.15.1</version>
9898
</dependency>
9999
<dependency>
100100
<groupId>org.apache.httpcomponents.client5</groupId>
101101
<artifactId>httpclient5</artifactId>
102102
<version>5.3.1</version>
103+
<exclusions>
104+
<!-- exclude this old version as we directly import a newer one -->
105+
<exclusion>
106+
<groupId>org.slf4j</groupId>
107+
<artifactId>slf4j-api</artifactId>
108+
</exclusion>
109+
</exclusions>
110+
</dependency>
111+
<dependency>
112+
<groupId>org.apache.httpcomponents.core5</groupId>
113+
<artifactId>httpcore5</artifactId>
114+
<version>5.2.4</version>
103115
</dependency>
104116
<dependency>
105117
<groupId>org.apache.xmlgraphics</groupId>
106118
<artifactId>batik-css</artifactId>
107119
<version>1.17</version>
108120
<exclusions>
109-
<!-- exclude this old version of commons-io as newer can be used -->
121+
<!-- exclude this old version as we directly import a newer one -->
110122
<exclusion>
111123
<groupId>commons-io</groupId>
112124
<artifactId>commons-io</artifactId>
113125
</exclusion>
114-
<!-- exclude this as batik-css has a dependency that uses an older commons-logging and we want to eliminate the convergence mismatch -->
115-
<exclusion>
116-
<groupId>commons-logging</groupId>
117-
<artifactId>commons-logging</artifactId>
118-
</exclusion>
119126
</exclusions>
120127
</dependency>
121128
<dependency>
122-
<groupId>commons-io</groupId>
123-
<artifactId>commons-io</artifactId>
124-
<version>2.15.1</version>
129+
<groupId>org.htmlunit</groupId>
130+
<artifactId>neko-htmlunit</artifactId>
131+
<version>3.11.1</version>
125132
</dependency>
126133
<dependency>
127134
<groupId>org.slf4j</groupId>
128135
<artifactId>slf4j-api</artifactId>
129136
<version>${version.slf4j}</version>
130137
</dependency>
131-
<dependency>
132-
<groupId>org.slf4j</groupId>
133-
<artifactId>jcl-over-slf4j</artifactId>
134-
<version>${version.slf4j}</version>
135-
<scope>test</scope>
136-
</dependency>
137-
<!-- without this import you get: SLF4J: Defaulting to no-operation (NOP) logger implementation -->
138-
<dependency>
139-
<groupId>org.slf4j</groupId>
140-
<artifactId>slf4j-simple</artifactId>
141-
<version>${version.slf4j}</version>
142-
<scope>test</scope>
143-
</dependency>
138+
144139
<!-- While Java 7+ includes Xerces in the JRE, it apparently doesn't provide all the features we use that are in the 3rd party version.
145140
So we import it directly. -->
146141
<dependency>
@@ -201,6 +196,19 @@
201196
<version>2.2</version>
202197
<scope>test</scope>
203198
</dependency>
199+
<dependency>
200+
<groupId>org.slf4j</groupId>
201+
<artifactId>jcl-over-slf4j</artifactId>
202+
<version>${version.slf4j}</version>
203+
<scope>test</scope>
204+
</dependency>
205+
<!-- without this import you get: SLF4J: Defaulting to no-operation (NOP) logger implementation -->
206+
<dependency>
207+
<groupId>org.slf4j</groupId>
208+
<artifactId>slf4j-simple</artifactId>
209+
<version>${version.slf4j}</version>
210+
<scope>test</scope>
211+
</dependency>
204212

205213
</dependencies>
206214

0 commit comments

Comments
 (0)