mirror of
https://github.com/pretix/pretix.git
synced 2026-08-19 12:16:26 +00:00
[SECURITY] Disable outbound and file access for reportlab (CVE-2026-57535)
This commit is contained in:
committed by
Raphael Michel
parent
e2661f304d
commit
80601cc013
@@ -29,3 +29,8 @@ class PretixHelpersConfig(AppConfig):
|
||||
def ready(self):
|
||||
from .monkeypatching import monkeypatch_all_at_ready
|
||||
monkeypatch_all_at_ready()
|
||||
|
||||
# Ensure reportlab does not make any calls to the internet
|
||||
from reportlab import rl_config
|
||||
rl_config.trustedHosts = []
|
||||
rl_config.trustedSchemes = ['data']
|
||||
|
||||
Reference in New Issue
Block a user