{"answers":{"affected":"4 open source packages ship an affected version, including sulu/sulu.","exploited":"There is no known exploitation of CVE-2026-82396 in the wild and no public exploit code.","fix":"Upgrade sulu/sulu to a fixed version for your release line: 2.6.25 or 3.0.8.","what":"CVE-2026-82396 is a medium-severity cross-site scripting vulnerability in sulu, published on 31 Aug 2026. 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 CVE-2026-82396 and fix it if it is affected.\n\nWhat it is: CVE-2026-82396 is a medium-severity cross-site scripting vulnerability in sulu, published on 31 Aug 2026. 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 CVE-2026-82396 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- sulu/sulu (Packagist): affected all versions; fixed in 2.6.25\n- sulu/sulu (Packagist): affected all versions; fixed in 2.6.25\n- sulu/sulu (Packagist): affected from 3.0.0-alpha1; fixed in 3.0.8\n- sulu/sulu (Packagist): affected from 3.0.0-alpha1; fixed in 3.0.8\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-2026-82396/ (Markdown: https://insights.sbomify.com/CVE-2026-82396/index.md)","id":"CVE-2026-82396","markdown":"https://insights.sbomify.com/CVE-2026-82396/index.md","name":"CVE-2026-82396","record":{"aliases":["GHSA-pp4x-ccxq-6r33"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Sulu CMS","requires_auth":"low_privilege","summary":"An attacker with media upload permissions can store malicious HTML/XML files that execute JavaScript in the victim's browser when accessed via a specific inline download link.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Sulu is an open-source PHP content management system based on the Symfony framework. Prior to versions 2.6.25 and 3.0.8, src/Sulu/Bundle/MediaBundle/Controller/MediaStreamController.php allows the /media/{id}/download/{slug} route and its administration variant to honor the inline query parameter for scriptable MIME types. The vulnerable stored Content-Type values include text/html, application/xhtml+xml, text/xml, and application/xml. An attacker with media upload permission can store an HTML, XHTML, or XML document and create a link using inline=1, causing the application to return the file on the Sulu origin instead of forcing Content-Disposition attachment. When an authenticated victim opens the link, attacker-controlled JavaScript can execute with the victim's Sulu-origin session and can read data or perform actions as that victim. This issue is fixed in versions 2.6.25 and 3.0.8.","ecosystems":["Packagist"],"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":"Sulu: Stored XSS via media download inline-disposition override","id":"CVE-2026-82396","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":4,"n_references":4,"next":{"headline":"Tornado: Urlencoded body parsing omits max_num_fields, so one request can stall the event loop","id":"CVE-2026-82397"},"packages":[{"ecosystem":"Packagist","fixed":["2.6.25"],"introduced":["0"],"last_affected":[],"package":"sulu/sulu","purl":null,"source":"GHSA-pp4x-ccxq-6r33"},{"ecosystem":"Packagist","fixed":["2.6.25"],"introduced":["0"],"last_affected":[],"package":"sulu/sulu","purl":"pkg:composer/sulu/sulu","source":"GHSA-pp4x-ccxq-6r33"},{"ecosystem":"Packagist","fixed":["3.0.8"],"introduced":["3.0.0-alpha1"],"last_affected":[],"package":"sulu/sulu","purl":null,"source":"GHSA-pp4x-ccxq-6r33"},{"ecosystem":"Packagist","fixed":["3.0.8"],"introduced":["3.0.0-alpha1"],"last_affected":[],"package":"sulu/sulu","purl":"pkg:composer/sulu/sulu","source":"GHSA-pp4x-ccxq-6r33"}],"prev":{"headline":"Sulu: Media move/update authorization bypass (IDOR)","id":"CVE-2026-82395"},"products":["sulu"],"published":"2026-08-31","related":[],"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":"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":"2026-09-01","vendors":["sulu"]},"summary":"An attacker with media upload permissions can store malicious HTML/XML files that execute JavaScript in the victim's browser when accessed via a specific inline download link.","url":"https://insights.sbomify.com/CVE-2026-82396/"}