Commit 83847c348 for imagemagick.org
commit 83847c348aafccbbea89ec8ed44382598aea3f98
Author: Cristy <urban-warrior@imagemagick.org>
Date: Tue Feb 17 10:42:18 2026 -0500
add TEXT as a restricted module
diff --git a/config/policy-limited.xml b/config/policy-limited.xml
index b5f888db8..4a1280e27 100644
--- a/config/policy-limited.xml
+++ b/config/policy-limited.xml
@@ -85,7 +85,7 @@
<!-- Indirect reads are not permitted. -->
<policy domain="path" rights="none" pattern="@*"/>
<!-- These image types are security risks on read, but write is fine -->
- <policy domain="module" rights="write" pattern="{MSL,MVG,PS,SVG,URL,XPS}"/>
+ <policy domain="module" rights="write" pattern="{MSL,MVG,PS,SVG,TEXT,URL,XPS}"/>
<!-- This policy sets the number of times to replace content of certain
memory buffers and temporary files before they are freed or deleted. -->
<!-- <policy domain="system" name="shred" value="1"/> -->
diff --git a/config/policy-open.xml b/config/policy-open.xml
index 17cb250aa..2d8436239 100644
--- a/config/policy-open.xml
+++ b/config/policy-open.xml
@@ -140,7 +140,7 @@
<!-- Indirect reads are not permitted. -->
<!-- <policy domain="path" rights="none" pattern="@*"/> -->
<!-- These image types are security risks on read, but write is fine -->
- <!-- <policy domain="module" rights="write" pattern="{MSL,MVG,PS,SVG,URL,XPS}"/> -->
+ <!-- <policy domain="module" rights="write" pattern="{MSL,MVG,PS,SVG,TEXT,URL,XPS}"/> -->
<!-- This policy sets the number of times to replace content of certain
memory buffers and temporary files before they are freed or deleted. -->
<!-- <policy domain="system" name="shred" value="1"/> -->
diff --git a/config/policy-secure.xml b/config/policy-secure.xml
index 81d84bed1..768487c58 100644
--- a/config/policy-secure.xml
+++ b/config/policy-secure.xml
@@ -98,7 +98,7 @@
<!-- Indirect reading is not permitted. -->
<policy domain="path" rights="none" pattern="@*"/>
<!-- These image types are security risks on read, but write is fine -->
- <policy domain="module" rights="write" pattern="{MSL,MVG,PS,SVG,URL,XPS}"/>
+ <policy domain="module" rights="write" pattern="{MSL,MVG,PS,SVG,TEXT,URL,XPS}"/>
<!-- This policy sets the number of times to replace content of certain
memory buffers and temporary files before they are freed or deleted. -->
<policy domain="system" name="shred" value="1"/>