pretix@4.5.1 vulnerabilities

Reinventing presales, one ticket at a time

Direct Vulnerabilities

Known vulnerabilities in the pretix package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • L
Cross-site Scripting (XSS)

pretix is a Reinventing presales, one ticket at a time

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the control panel due to improper user input sanitization in the placeholders (like {name} or {event}). An attacker can inject HTML tags into email previews on the settings page by exploiting this vulnerability.

NOTE:

This is only exploitable if a Content Security Policy (CSP) bypass occurs.

How to fix Cross-site Scripting (XSS)?

Upgrade pretix to version 2024.7.1 or higher.

[,2024.7.1)
  • H
Improper Input Validation

pretix is a Reinventing presales, one ticket at a time

Affected versions of this package are vulnerable to Improper Input Validation due to mishandling of file validation. An attacker can exploit this weakness by submitting a malicious file that bypasses the intended validation mechanisms.

How to fix Improper Input Validation?

Upgrade pretix to version 2024.1.1 or higher.

[,2024.1.1)
  • M
Authentication Bypass by Spoofing

pretix is a Reinventing presales, one ticket at a time

Affected versions of this package are vulnerable to Authentication Bypass by Spoofing due to the incorrect parsing of configuration files. An attacker can spoof IP addresses by manipulating unchecked X-Forwarded-For headers.

Note:

This vulnerability is exploitable only if a reverse proxy config is used that allows the user to set these headers themselves and the config flags have been turned off explicitly.

How to fix Authentication Bypass by Spoofing?

Upgrade pretix to version 4.20.2.post1, 2023.6.1, 2023.7.1 or higher.

[3.0.0,4.20.2.post1) [2023.6.0,2023.6.1) [2023.7.0,2023.7.1)
  • H
Arbitrary Code Injection

pretix is a Reinventing presales, one ticket at a time

Affected versions of this package are vulnerable to Arbitrary Code Injection when parsing EPS files. An attacker can exploit this to execute arbitrary code by sending a specially crafted EPS file.

Note:

This is only exploitable if the application is configured to accept and parse EPS files.

How to fix Arbitrary Code Injection?

Upgrade pretix to version 2023.7.3 or higher.

[,2023.7.3)
  • H
Improper Authorization

pretix is a Reinventing presales, one ticket at a time

Affected versions of this package are vulnerable to Improper Authorization due to allowing OAuth application authorization from a logged-out session.

Note: Access to a browser (or session cookie) with a recent valid login into the system is required for the security problem to be exploitable. It is not possible for a remote attacker to use this to get access to random accounts.

How to fix Improper Authorization?

Upgrade pretix to version 4.15.1, 4.16.1, 4.17.1 or higher.

[1.16.0,4.15.1) [4.16.0,4.16.1) [4.17.0,4.17.1)