Skip to content

Commit 88737e7

Browse files
author
Kate Ivanova
committed
Update org.apache.santuario:xmlsec version to 1.5.8
DEV-2009
1 parent 02034fd commit 88737e7

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
### **PLEASE NOTE: iText 5 is EOL, and has been replaced by [iText 7][itext7]. Only security fixes will be added**
2-
2+
3+
### Known Security Issues
4+
5+
#### org.apache.santuario:xmlsec vulnerabilities
6+
The iText 5 targets Java 5 which means that we can not update `org.apache.santuario:xmlsec` version to 2.x.x or newer as
7+
it requires Java 8. If you are not using the com.itextpdf.text.pdf.security.MakeXmlSignature class then you can avoid
8+
adding `org.apache.santuario:xmlsec` dependency into your project. Which means that you would not be affected by
9+
the related vulnerabilities, for example https://snyk.io/vuln/SNYK-JAVA-ORGAPACHESANTUARIO-1655558. If you are using
10+
com.itextpdf.text.pdf.security.MakeXmlSignature class, for example for XFA signatures, then you can:
11+
- either use `org.apache.santuario:xmlsec` 1.5.8 as a dependency which is affected by the vulnerability specified above,
12+
but works on Java 5+;
13+
- or use `org.apache.santuario:xmlsec` 2.1.7 or newer. But this would require java 8+ and affects on the output format
14+
(see https://issues.apache.org/jira/browse/SANTUARIO-494).
15+
316
We HIGHLY recommend customers use iText 7 for new projects, and to consider moving existing projects from iText 5 to iText 7 to benefit from the many improvements such as:
417

518
- HTML to PDF (PDF/UA) conversion

itext/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
<dependency>
9494
<groupId>org.apache.santuario</groupId>
9595
<artifactId>xmlsec</artifactId>
96-
<version>1.5.6</version>
96+
<version>1.5.8</version>
9797
<optional>true</optional>
9898
</dependency>
9999
</dependencies>

0 commit comments

Comments
 (0)