We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dd138e commit 654c05fCopy full SHA for 654c05f
README.md
@@ -25,6 +25,16 @@ composer require knplabs/knp-snappy
25
26
## Usage
27
28
+> ⚠️ **Security Warning: Do NOT use `wkhtmltopdf` with untrusted HTML!**
29
+>
30
+> Never process user-supplied HTML/JS without **thorough sanitization**.
31
+> Failing to do so can result in a **complete takeover of the server** running `wkhtmltopdf`.
32
33
+> To mitigate risks, it is strongly recommended to use a Mandatory Access Control system like **AppArmor** or **SELinux**.
34
35
+> 🔗 [See the official recommendations](https://wkhtmltopdf.org/status.html#recommendations)
36
+
37
38
### Initialization
39
```php
40
<?php
0 commit comments