{"answers":{"affected":"6 open source packages ship an affected version, including mautic/core.","exploited":"There is no known exploitation of CVE-2025-9823 in the wild and no public exploit code.","fix":"Upgrade mautic/core to a fixed version for your release line: 4.4.17, 5.2.8 or 6.0.5.","what":"CVE-2025-9823 is a medium-severity cross-site scripting vulnerability in Mautic, published on 3 Sep 2025. 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-2025-9823 and fix it if it is affected.\n\nWhat it is: CVE-2025-9823 is a medium-severity cross-site scripting vulnerability in Mautic, published on 3 Sep 2025. 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-2025-9823 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- mautic/core (Packagist): affected from 4.4.0; fixed in 4.4.17\n- mautic/core (Packagist): affected from 4.4.0; fixed in 4.4.17\n- mautic/core (Packagist): affected from 5.0.0-alpha; fixed in 5.2.8\n- mautic/core (Packagist): affected from 5.0.0-alpha; fixed in 5.2.8\n- mautic/core (Packagist): affected from 6.0.0-alpha; fixed in 6.0.5\n- mautic/core (Packagist): affected from 6.0.0-alpha; fixed in 6.0.5\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-9823/ (Markdown: https://insights.sbomify.com/CVE-2025-9823/index.md)","id":"CVE-2025-9823","markdown":"https://insights.sbomify.com/CVE-2025-9823/index.md","name":"CVE-2025-9823","record":{"aliases":["GHSA-9v8p-m85m-f7mm"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["account_takeover","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Mautic marketing automation","requires_auth":"low_privilege","summary":"Reflected XSS in Mautic allows attackers to execute arbitrary JavaScript in victim sessions, enabling session hijacking and data theft.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Mautic","cpe":[],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"SummaryA Cross-Site Scripting (XSS) vulnerability allows an attacker to execute arbitrary JavaScript in the context of another user’s session. This occurs because user-supplied input is reflected back in the server’s response without proper sanitization or escaping, potentially enabling malicious actions such as session hijacking, credential theft, or unauthorized actions in the application.\n\nDetailsThe vulnerability resides in the “Tags” input field on the /s/ajax?action=lead:addLeadTags endpoint. Although the server applies sanitization before storing the data or returning it later, the payload is executed immediately in the victim’s browser upon reflection, allowing an attacker to run arbitrary JavaScript in the user’s session.\n\nImpactA Reflected XSS attack can have a significant impact, allowing attackers to steal sensitive user data like cookies, redirect users to malicious websites, manipulate the web page content, and essentially take control of a user's session within an application by executing malicious JavaScript code within the victim's browser, even if the server-side code is secure; essentially enabling them to perform actions as if they were the logged-in user.\n\nReferences  *   Web Security Academy: Cross-site scripting https://portswigger.net/web-security/cross-site-scripting \n  *   Web Security Academy: Reflected cross-site scripting https://portswigger.net/web-security/cross-site-scripting/reflected","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":"Reflected XSS in lead:addLeadTags - Quick Add","id":"CVE-2025-9823","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2025"},"n_packages":6,"n_references":1,"next":{"headline":"User Enumeration via Response Timing","id":"CVE-2025-9824"},"packages":[{"ecosystem":"Packagist","fixed":["4.4.17"],"introduced":["4.4.0"],"last_affected":[],"package":"mautic/core","purl":null,"source":"GHSA-9v8p-m85m-f7mm"},{"ecosystem":"Packagist","fixed":["4.4.17"],"introduced":["4.4.0"],"last_affected":[],"package":"mautic/core","purl":"pkg:composer/mautic/core","source":"GHSA-9v8p-m85m-f7mm"},{"ecosystem":"Packagist","fixed":["5.2.8"],"introduced":["5.0.0-alpha"],"last_affected":[],"package":"mautic/core","purl":null,"source":"GHSA-9v8p-m85m-f7mm"},{"ecosystem":"Packagist","fixed":["5.2.8"],"introduced":["5.0.0-alpha"],"last_affected":[],"package":"mautic/core","purl":"pkg:composer/mautic/core","source":"GHSA-9v8p-m85m-f7mm"},{"ecosystem":"Packagist","fixed":["6.0.5"],"introduced":["6.0.0-alpha"],"last_affected":[],"package":"mautic/core","purl":null,"source":"GHSA-9v8p-m85m-f7mm"},{"ecosystem":"Packagist","fixed":["6.0.5"],"introduced":["6.0.0-alpha"],"last_affected":[],"package":"mautic/core","purl":"pkg:composer/mautic/core","source":"GHSA-9v8p-m85m-f7mm"}],"prev":{"headline":"Secret data extraction via elfinder","id":"CVE-2025-9822"},"products":["Mautic"],"published":"2025-09-03","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":"2025-09-03","vendors":["Mautic"]},"summary":"Reflected XSS in Mautic allows attackers to execute arbitrary JavaScript in victim sessions, enabling session hijacking and data theft.","url":"https://insights.sbomify.com/CVE-2025-9823/"}