diff --git a/pubspec.yaml b/pubspec.yaml
index 549fe8bf3386667e797ff5ffb40348b3893ceb02..00c3fb84453ad967aeece237347da12f46fcb46c 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -12,7 +12,7 @@ dependencies:
   http: ^0.13.1
   crypto: ^3.0.0
   convert: ^3.0.0
-  xml: ^5.0.2
+  xml: ^6.4.2
   buffer: ^1.1.0
   intl: ^0.17.0
   mime: ^1.0.0