diff --git a/pandoc.cabal b/pandoc.cabal
index af733b7b1..968046a14 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -206,7 +206,7 @@ Library
                  time >= 1.2 && < 1.5,
                  HTTP >= 4000.0.5 && < 4000.3,
                  texmath >= 0.6 && < 0.7,
-                 xml >= 1.3.5 && < 1.4,
+                 xml >= 1.3.12 && < 1.4,
                  random >= 1 && < 1.1,
                  extensible-exceptions >= 0.1 && < 0.2,
                  citeproc-hs >= 0.3.4 && < 0.4,
@@ -298,7 +298,7 @@ Executable pandoc
                  time >= 1.2 && < 1.5,
                  HTTP >= 4000.0.5 && < 4000.3,
                  texmath >= 0.6 && < 0.7,
-                 xml >= 1.3.5 && < 1.4,
+                 xml >= 1.3.12 && < 1.4,
                  random >= 1 && < 1.1,
                  extensible-exceptions >= 0.1 && < 0.2,
                  citeproc-hs >= 0.3.4 && < 0.4,