VDB
Sign up
MEDIUM5.4

PYSEC-2024-180

Quick fix

PYSEC-2024-180 — pretix: upgrade to the fixed version with the command below.

pip install --upgrade 'pretix>=2024.7.1'

Details

Stored XSS in organizer and event settings of pretix up to 2024.7.0 allows malicious event organizers to inject HTML tags into e-mail previews on settings page. The default Content Security Policy of pretix prevents execution of attacker-provided scripts, making exploitation unlikely. However, combined with a CSP bypass (which is not currently known) the vulnerability could be used to impersonate other organizers or staff users.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/pretix
Introduced in: 0Fixed in: 2024.7.1
Fixpip install --upgrade 'pretix>=2024.7.1'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/pretix"]}'