{"answers":{"affected":"7 open source packages ship an affected version, including pretix. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-13742 in the wild and no public exploit code.","fix":"Upgrade pretix to a fixed version for your release line: 2025.7.2, 2025.7.3, 2025.8.2 or 2025.9.2.","what":"CVE-2025-13742 is a low-severity cross-site scripting vulnerability in pretix, published on 27 Nov 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-13742 and fix it if it is affected.\n\nWhat it is: CVE-2025-13742 is a low-severity cross-site scripting vulnerability in pretix, published on 27 Nov 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-13742 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pretix (PyPI): affected from 1.0.0; fixed in 2025.7.2\n- pretix (PyPI): affected from 1.0.0; fixed in 2025.7.3\n- pretix (PyPI): affected from 1.0.0; fixed in 2025.7.3\n- pretix (PyPI): affected from 2025.8.0; fixed in 2025.8.2\n- pretix (PyPI): affected from 2025.8.0; fixed in 2025.8.2\n- pretix (PyPI): affected from 2025.9.0; fixed in 2025.9.2\n- pretix (PyPI): affected from 2025.9.0; fixed in 2025.9.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-13742/ (Markdown: https://insights.sbomify.com/CVE-2025-13742/index.md)","id":"CVE-2025-13742","markdown":"https://insights.sbomify.com/CVE-2025-13742/index.md","name":"CVE-2025-13742","record":{"aliases":["GHSA-2mm6-624x-fqrr","PYSEC-2025-154"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"pretix ticketing system","requires_auth":"none","summary":"Attackers can inject HTML into emails via attendee names, enabling phishing by making malicious content appear trustworthy.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"rami.io","cpe":[{"product":"pretix","vendor":"pretix"}],"cvss":{"score":2.4,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:L/VA:L/SC:N/SI:L/SA:L/E:U","version":"4.0"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"description":"Emails sent by pretix can utilize placeholders that will be filled with customer data. For example, when {name} is used in an email template, it will be replaced with the buyer's name for the final email. If the name of the attendee contained HTML or Markdown formatting, this was rendered as HTML in the resulting email. This way, a user could inject links or other formatted text through a maliciously formatted name. Since pretix applies a strict allow list approach to allowed HTML tags, this could not be abused for XSS or similarly dangerous attack chains. However, it can be used to manipulate emails in a way that makes user-provided content appear in a trustworthy and credible way, which can be abused for phishing.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Limited HTML injection in emails","id":"CVE-2025-13742","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2025"},"n_packages":7,"n_references":1,"next":{"headline":"Expired Personal Access Tokens (PATs) are recorded in Docker Desktop diagnostic logs","id":"CVE-2025-13743"},"packages":[{"ecosystem":"PyPI","fixed":["2025.7.2"],"introduced":["1.0.0"],"last_affected":[],"package":"pretix","purl":"pkg:pypi/pretix","source":"PYSEC-2025-154"},{"ecosystem":"PyPI","fixed":["2025.7.3"],"introduced":["1.0.0"],"last_affected":[],"package":"pretix","purl":null,"source":"GHSA-2mm6-624x-fqrr"},{"ecosystem":"PyPI","fixed":["2025.7.3"],"introduced":["1.0.0"],"last_affected":[],"package":"pretix","purl":"pkg:pypi/pretix","source":"GHSA-2mm6-624x-fqrr"},{"ecosystem":"PyPI","fixed":["2025.8.2"],"introduced":["2025.8.0"],"last_affected":[],"package":"pretix","purl":null,"source":"GHSA-2mm6-624x-fqrr"},{"ecosystem":"PyPI","fixed":["2025.8.2"],"introduced":["2025.8.0"],"last_affected":[],"package":"pretix","purl":"pkg:pypi/pretix","source":"GHSA-2mm6-624x-fqrr"},{"ecosystem":"PyPI","fixed":["2025.9.2"],"introduced":["2025.9.0"],"last_affected":[],"package":"pretix","purl":null,"source":"GHSA-2mm6-624x-fqrr"},{"ecosystem":"PyPI","fixed":["2025.9.2"],"introduced":["2025.9.0"],"last_affected":[],"package":"pretix","purl":"pkg:pypi/pretix","source":"GHSA-2mm6-624x-fqrr"}],"prev":{"headline":"Missing authorization in Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories","id":"CVE-2025-13741"},"products":["pretix"],"published":"2025-11-27","related":[{"cvss_score":9.8,"headline":"pretix mishandles file validation","id":"CVE-2024-27447","kev_date_added":null,"published":"2024-02-26"},{"cvss_score":7.5,"headline":"Unsafe variable evaluation in email templates","id":"CVE-2026-2415","kev_date_added":null,"published":"2026-02-16"},{"cvss_score":7.2,"headline":"Stored XSS in Placeholder Samples in Mail Preview","id":"CVE-2024-8113","kev_date_added":null,"published":"2024-08-23"},{"cvss_score":5.5,"headline":"pretix: API leaks check-in data between events of the same organizer","id":"CVE-2026-5600","kev_date_added":null,"published":"2026-04-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-28","vendors":["pretix"]},"summary":"Attackers can inject HTML into emails via attendee names, enabling phishing by making malicious content appear trustworthy.","url":"https://insights.sbomify.com/CVE-2025-13742/"}