mirror of
https://github.com/pretix/pretix.git
synced 2026-08-25 13:12:00 +00:00
[SECURITY] Prevent reading of any local files in reportlab (CVE-2026-57535)
This commit is contained in:
committed by
Raphael Michel
parent
3953d57c2e
commit
257bb2e4b7
@@ -30,7 +30,7 @@ class PretixHelpersConfig(AppConfig):
|
||||
from .monkeypatching import monkeypatch_all_at_ready
|
||||
monkeypatch_all_at_ready()
|
||||
|
||||
# Ensure reportlab does not make any calls to the internet
|
||||
# Ensure reportlab does not make any calls to the internet or the local disk
|
||||
from reportlab import rl_config
|
||||
rl_config.trustedHosts = []
|
||||
rl_config.trustedSchemes = ['data']
|
||||
|
||||
Reference in New Issue
Block a user