{"answers":{"affected":"2 open source packages ship an affected version, including malojaserver.","exploited":"There is no known exploitation of GHSA-4h72-34j6-j8x7 in the wild and no public exploit code.","fix":"Upgrade malojaserver to 3.2.2 or later.","what":"GHSA-4h72-34j6-j8x7 is a cross-site scripting vulnerability in malojaserver, published on 18 Dec 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for GHSA-4h72-34j6-j8x7 and fix it if it is affected.\n\nWhat it is: GHSA-4h72-34j6-j8x7 is a cross-site scripting vulnerability in malojaserver, published on 18 Dec 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of GHSA-4h72-34j6-j8x7 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- malojaserver (PyPI): affected all versions; fixed in 3.2.2\n- malojaserver (PyPI): affected all versions; fixed in 3.2.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/GHSA-4h72-34j6-j8x7/ (Markdown: https://insights.sbomify.com/GHSA-4h72-34j6-j8x7/index.md)","id":"GHSA-4h72-34j6-j8x7","markdown":"https://insights.sbomify.com/GHSA-4h72-34j6-j8x7/index.md","name":"GHSA-4h72-34j6-j8x7","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Maloja scrobbling server","requires_auth":"low_privilege","summary":"Reflected XSS in Maloja error pages allows attackers to execute scripts and modify user scrobble data via crafted links.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\nThe error page for a missing path echoes the path back to the user. If this contains HTML, an attacker could execute a script on the user's machine inside the Maloja context and perform authorized actions like scrobbling or deleting scrobbles.\nThis does not affect the security of your server. The exploit is purely client-side.\nSince there is very little incentive to mess with your scrobble data and it requires very specific targeting (an attacker would have to send a user a link to their own server),  the severity rating might be misleading.\n\n### Patches\nThe Vulnerability is patched in 3.2.2","ecosystems":["PyPI"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Maloja error page XSS vulnerability","id":"GHSA-4h72-34j6-j8x7","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2023"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"PyPI","fixed":["3.2.2"],"introduced":["0"],"last_affected":[],"package":"malojaserver","purl":null,"source":"GHSA-4h72-34j6-j8x7"},{"ecosystem":"PyPI","fixed":["3.2.2"],"introduced":["0"],"last_affected":[],"package":"malojaserver","purl":"pkg:pypi/malojaserver","source":"GHSA-4h72-34j6-j8x7"}],"products":null,"published":"2023-12-18","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Reflected XSS in Maloja error pages allows attackers to execute scripts and modify user scrobble data via crafted links.","url":"https://insights.sbomify.com/GHSA-4h72-34j6-j8x7/"}