{"answers":{"affected":"4 open source packages ship an affected version, including org.silverpeas.core:silverpeas-core-rs and org.silverpeas.core:silverpeas-core-web. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-39031 exists.","fix":"No fix has been published for CVE-2024-39031 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-39031 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Jul 2024. 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-2024-39031 and fix it if it is affected.\n\nWhat it is: CVE-2024-39031 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Jul 2024. Any signed-in user can exploit it over the network, 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-2024-39031 exists.\n\nAffected packages and fixed versions:\n- org.silverpeas.core:silverpeas-core-rs (Maven): affected all versions up to 6.3.5; no fix listed\n- org.silverpeas.core:silverpeas-core-rs (Maven): affected all versions up to 6.3.5; no fix listed\n- org.silverpeas.core:silverpeas-core-web (Maven): affected all versions up to 6.3.5; no fix listed\n- org.silverpeas.core:silverpeas-core-web (Maven): affected all versions up to 6.3.5; no fix listed\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-2024-39031/ (Markdown: https://insights.sbomify.com/CVE-2024-39031/index.md)","id":"CVE-2024-39031","markdown":"https://insights.sbomify.com/CVE-2024-39031/index.md","name":"CVE-2024-39031","record":{"aliases":["GHSA-vfwh-gvf6-mff8"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Silverpeas Core","requires_auth":"low_privilege","summary":"Attackers can inject XSS payloads into calendar events to execute scripts in victims' browsers, potentially leading to account takeover or data theft.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"silverpeas","vendor":"silverpeas"}],"cvss":{"score":5.4,"severity":"medium","source":"cisa-adp","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":"In Silverpeas Core \u003c= 6.3.5, in Mes Agendas, a user can create new events and add them to their calendar. Additionally, users can invite others from the same domain, including administrators, to these events. A standard user can inject an XSS payload into the \"Titre\" and \"Description\" fields when creating an event and then add the administrator or any user to the event. When the invited user (victim) views their own profile, the payload will be executed on their side, even if they do not click on the event.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2024-07-08","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-07-08T23:21:52Z","kind":"github_poc","ref":"https://github.com/toneemarqus/CVE-2024-39031","stars":0,"title":"Stored Cross-Side Scripting (XSS) leads to privilege escalation in SilverPeas social-networking portal"}],"tier":"weaponised"},"has_fix":false,"headline":"Silverpeas Core Cross-site Scripting vulnerability","id":"CVE-2024-39031","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":4,"n_references":2,"next":{"headline":"Information disclosure in n/a","id":"CVE-2024-39033"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["6.3.5"],"package":"org.silverpeas.core:silverpeas-core-rs","purl":null,"source":"GHSA-vfwh-gvf6-mff8"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["6.3.5"],"package":"org.silverpeas.core:silverpeas-core-rs","purl":"pkg:maven/org.silverpeas.core/silverpeas-core-rs","source":"GHSA-vfwh-gvf6-mff8"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["6.3.5"],"package":"org.silverpeas.core:silverpeas-core-web","purl":null,"source":"GHSA-vfwh-gvf6-mff8"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["6.3.5"],"package":"org.silverpeas.core:silverpeas-core-web","purl":"pkg:maven/org.silverpeas.core/silverpeas-core-web","source":"GHSA-vfwh-gvf6-mff8"}],"prev":{"headline":"Command injection in n/a","id":"CVE-2024-39028"},"products":["n/a"],"published":"2024-07-09","related":[{"cvss_score":9.9,"headline":"Path traversal in n/a","id":"CVE-2018-19586","kev_date_added":null,"published":"2019-04-09"},{"cvss_score":9.8,"headline":"Silverpeas vulnerable to password complexity rule bypass","id":"CVE-2024-42850","kev_date_added":null,"published":"2024-08-16"},{"cvss_score":9.8,"headline":"Silverpeas authentication bypass","id":"CVE-2024-36042","kev_date_added":null,"published":"2024-06-03"},{"cvss_score":8.8,"headline":"Cross Site Request Forgery in Silverpeas","id":"CVE-2023-47322","kev_date_added":null,"published":"2023-12-13"},{"cvss_score":8.8,"headline":"Cross Site Request Forgery in Silverpeas","id":"CVE-2023-47326","kev_date_added":null,"published":"2023-12-13"},{"cvss_score":8.1,"headline":"Broken access control in Silverpeas","id":"CVE-2023-47320","kev_date_added":null,"published":"2023-12-13"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2024-48814","kev_date_added":null,"published":"2025-01-03"}],"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":"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["n/a"]},"summary":"Attackers can inject XSS payloads into calendar events to execute scripts in victims' browsers, potentially leading to account takeover or data theft.","url":"https://insights.sbomify.com/CVE-2024-39031/"}