{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-59540 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-59540 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-59540 is a medium-severity cross-site scripting vulnerability in Chamilo Chamilo Lms, published on 6 Mar 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-2025-59540 and fix it if it is affected.\n\nWhat it is: CVE-2025-59540 is a medium-severity cross-site scripting vulnerability in Chamilo Chamilo Lms, published on 6 Mar 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-2025-59540 in the wild and no public exploit code.\n\nAffected product: Chamilo Chamilo Lms. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-59540/ (Markdown: https://insights.sbomify.com/CVE-2025-59540/index.md)","id":"CVE-2025-59540","markdown":"https://insights.sbomify.com/CVE-2025-59540/index.md","name":"CVE-2025-59540","record":{"aliases":["GHSA-59h4-34mx-m67m"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Chamilo LMS","requires_auth":"low_privilege","summary":"A stored XSS vulnerability in Chamilo LMS allows staff users to execute arbitrary JavaScript in admin browsers via unencoded exercise feedback.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"chamilo_lms","vendor":"chamilo"}],"cvss":{"score":6.4,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Chamilo is a learning management system. Prior to version 1.11.34, a stored XSS vulnerability exists in Chamilo LMS that allows a staff account to execute arbitrary JavaScript in the browser of higher-privileged admin users. The issue arises because feedback input in the exercise history page is not properly encoded before rendering, allowing malicious scripts to persist in the database and execute on view. This issue has been patched in version 1.11.34.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Chamilo: Stored Cross-Site Scripting (XSS) in Chamilo LMS Exercise Feedback","id":"CVE-2025-59540","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"chamilo:chamilo_lms","products":["chamilo:chamilo_lms"],"type":"xss","year":"2025"},"n_packages":0,"n_references":2,"next":{"headline":"Chamilo: CSRF Vulnerability in Project Deletion","id":"CVE-2025-59541"},"packages":[],"prev":{"headline":"DNN affected by Stored Cross-Site Scripting (XSS) in Profile Biography field","id":"CVE-2025-59539"},"products":["chamilo-lms"],"published":"2026-03-06","related":[{"cvss_score":9.8,"headline":"Chamilo: Evaluation of untrusted user input leads to Remote Code Execution","id":"CVE-2025-50187","kev_date_added":null,"published":"2026-03-02"},{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2023-34944","kev_date_added":null,"published":"2023-06-13"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2022-27423","kev_date_added":null,"published":"2022-04-15"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2021-35414","kev_date_added":null,"published":"2021-12-03"},{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2019-13082","kev_date_added":null,"published":"2019-06-30"},{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2018-1999019","kev_date_added":null,"published":"2018-07-23"},{"cvss_score":9.4,"headline":"Weak Password Recovery Mechanism for Forgotten Password in chamilo/chamilo-lms","id":"CVE-2026-33707","kev_date_added":null,"published":"2026-04-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-06","vendors":["chamilo"]},"summary":"A stored XSS vulnerability in Chamilo LMS allows staff users to execute arbitrary JavaScript in admin browsers via unencoded exercise feedback.","url":"https://insights.sbomify.com/CVE-2025-59540/"}