{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-22142 exists.","fix":"No fix has been published for CVE-2025-22142 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-22142 is a medium-severity cross-site scripting vulnerability in NamelessMC Nameless, published on 13 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-22142 and fix it if it is affected.\n\nWhat it is: CVE-2025-22142 is a medium-severity cross-site scripting vulnerability in NamelessMC Nameless, published on 13 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-22142 exists.\n\nAffected product: NamelessMC Nameless. 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-22142/ (Markdown: https://insights.sbomify.com/CVE-2025-22142/index.md)","id":"CVE-2025-22142","markdown":"https://insights.sbomify.com/CVE-2025-22142/index.md","name":"CVE-2025-22142","record":{"aliases":["GHSA-9q22-w64p-g8qm"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"Minecraft server website","requires_auth":"none","summary":"Attackers can inject JavaScript into user profile fields, executing code on staff members' browsers when viewing profiles in the admin panel.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nameless","vendor":"namelessmc"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"NamelessMC is a free, easy to use \u0026 powerful website software for Minecraft servers. In affected versions an admin can add the ability to have users fill out an additional field and users can inject javascript code into it that would be activated once a staffer visits the user's profile on staff panel. As a result an attacker can execute javascript code on the staffer's computer. This issue has been addressed in version 2.1.3 and all users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Cross-site Scripting in NamelessMC","id":"CVE-2025-22142","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2025"},"n_packages":0,"n_references":2,"next":{"headline":"WeGIA Cross-Site Scripting (XSS) Reflected endpoint 'listar_permissoes.php' parameter 'msg_e'","id":"CVE-2025-22143"},"packages":[],"prev":{"headline":"WeGIA SQL Injection (Blind Time-Based) endpoint 'verificar_recursos_cargo.php' parameter 'cargo'","id":"CVE-2025-22141"},"products":["Nameless"],"published":"2025-01-13","related":[{"cvss_score":9.8,"headline":"Missing Critical Step in Authentication in namelessmc/nameless","id":"CVE-2022-2821","kev_date_added":null,"published":"2022-08-15"},{"cvss_score":9.1,"headline":"NamelessMC allows Stored Cross-Site Scripting (XSS) in dashboard text editor","id":"CVE-2025-54117","kev_date_added":null,"published":"2025-08-18"},{"cvss_score":9,"headline":"Account Takeover in NamelessMC","id":"CVE-2025-22144","kev_date_added":null,"published":"2025-01-13"},{"cvss_score":8.6,"headline":"NamelessMC Vulnerable to SQL Injections in /user/messaging and /panel/users/reports Pages","id":"CVE-2025-32389","kev_date_added":null,"published":"2025-04-18"},{"cvss_score":7.5,"headline":"NamelessMC Has Lack of Length Validation for s Parameter in GET Requests","id":"CVE-2025-29784","kev_date_added":null,"published":"2025-04-18"},{"cvss_score":7.3,"headline":"NamelessMC Forum Topic Deletion Triggered by Unrelated User Deletion","id":"CVE-2025-30357","kev_date_added":null,"published":"2025-04-18"},{"cvss_score":7.2,"headline":"NamelessMC allows Stored Cross Site Scripting (XSS) in SEO component","id":"CVE-2025-54421","kev_date_added":null,"published":"2025-08-18"}],"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-13","vendors":["NamelessMC"]},"summary":"Attackers can inject JavaScript into user profile fields, executing code on staff members' browsers when viewing profiles in the admin panel.","url":"https://insights.sbomify.com/CVE-2025-22142/"}