{"answers":{"affected":"3 open source packages ship an affected version, including mezzanine and Mezzanine. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6050 exists.","fix":"Upgrade mezzanine to 6.1.1 or later.","what":"CVE-2025-6050 is a medium-severity cross-site scripting vulnerability in jupo mezzanine, published on 17 Jun 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-6050 and fix it if it is affected.\n\nWhat it is: CVE-2025-6050 is a medium-severity cross-site scripting vulnerability in jupo mezzanine, published on 17 Jun 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6050 exists.\n\nAffected packages and fixed versions:\n- mezzanine (PyPI): affected all versions; fixed in 6.1.1\n- mezzanine (PyPI): affected all versions; fixed in 6.1.1\n- Mezzanine (PyPI): affected all versions; fixed in 6.1.1\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-6050/ (Markdown: https://insights.sbomify.com/CVE-2025-6050/index.md)","id":"CVE-2025-6050","markdown":"https://insights.sbomify.com/CVE-2025-6050/index.md","name":"CVE-2025-6050","record":{"aliases":["GHSA-7pr5-w74r-jjj7","PYSEC-2025-236"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Mezzanine CMS","requires_auth":"high_privilege","summary":"An authenticated admin can inject malicious scripts via blog titles, leading to script execution in other admins' browsers.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Checkmarx","cpe":[{"product":"mezzanine","vendor":"jupo"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Mezzanine CMS, in versions prior to 6.1.1, contains a Stored Cross-Site Scripting (XSS) vulnerability in the admin interface. The vulnerability exists in the \"displayable_links_js\" function, which fails to properly sanitize blog post titles before including them in JSON responses served via \"/admin/displayable_links.js\". An authenticated admin user can create a blog post with a malicious JavaScript payload in the title field, then trick another admin user into clicking a direct link to the \"/admin/displayable_links.js\" endpoint, causing the malicious script to execute in their browser.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Stored Cross-Site Scripting (XSS) in Mezzanine CMS Admin Interface","id":"CVE-2025-6050","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2025"},"n_packages":3,"n_references":3,"next":{"headline":"Regular Expression Denial of Service (ReDoS) in huggingface/transformers","id":"CVE-2025-6051"},"packages":[{"ecosystem":"PyPI","fixed":["6.1.1"],"introduced":["0"],"last_affected":[],"package":"Mezzanine","purl":null,"source":"GHSA-7pr5-w74r-jjj7"},{"ecosystem":"PyPI","fixed":["6.1.1"],"introduced":["0"],"last_affected":[],"package":"mezzanine","purl":"pkg:pypi/mezzanine","source":"GHSA-7pr5-w74r-jjj7"},{"ecosystem":"PyPI","fixed":["6.1.1"],"introduced":["0"],"last_affected":[],"package":"mezzanine","purl":"pkg:pypi/mezzanine","source":"PYSEC-2025-236"}],"prev":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2025-6046"},"products":["mezzanine"],"published":"2025-06-17","related":[{"cvss_score":9.8,"headline":"Mezzanine allows attackers to bypass access control mechanisms","id":"CVE-2024-25169","kev_date_added":null,"published":"2024-02-28"},{"cvss_score":9.1,"headline":"Mezzanine allows attackers to bypass access controls via manipulating the Host header","id":"CVE-2024-25170","kev_date_added":null,"published":"2024-02-28"},{"cvss_score":6.1,"headline":"Mezzanine CMS Cross-Site Scripting (XSS) vulnerability","id":"CVE-2025-29573","kev_date_added":null,"published":"2025-05-05"},{"cvss_score":6.1,"headline":"Mezzanine Cross Site Scripting (XSS) vulnerability","id":"CVE-2020-19002","kev_date_added":null,"published":"2021-08-27"},{"cvss_score":4.8,"headline":"Mezzanine CMS vulnerable to Cross-site Scripting","id":"CVE-2025-50481","kev_date_added":null,"published":"2025-07-23"},{"cvss_score":4.8,"headline":"Cross-site scripting in n/a","id":"CVE-2018-16632","kev_date_added":null,"published":"2018-12-28"}],"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-07-24","vendors":["jupo"]},"summary":"An authenticated admin can inject malicious scripts via blog titles, leading to script execution in other admins' browsers.","url":"https://insights.sbomify.com/CVE-2025-6050/"}