{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-30366 exists.","fix":"No fix has been published for CVE-2025-30366 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-30366 is a medium-severity cross-site scripting vulnerability in Wegia Wegia, published on 27 Mar 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-30366 and fix it if it is affected.\n\nWhat it is: CVE-2025-30366 is a medium-severity cross-site scripting vulnerability in Wegia Wegia, published on 27 Mar 2025. An attacker needs administrator access to exploit it, 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-2025-30366 exists.\n\nAffected product: Wegia Wegia. 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-30366/ (Markdown: https://insights.sbomify.com/CVE-2025-30366/index.md)","id":"CVE-2025-30366","markdown":"https://insights.sbomify.com/CVE-2025-30366/index.md","name":"CVE-2025-30366","record":{"aliases":["GHSA-pwr9-fr8r-8h48"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Charitable institution manager","requires_auth":"high_privilege","summary":"Stored XSS in WeGIA allows attackers to inject scripts executed in users' browsers, potentially leading to session hijacking or data theft.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"wegia","vendor":"wegia"}],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:L/VI:L/VA:N/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"WeGIA is a Web manager for charitable institutions. Versions prior to 3.2.8 are vulnerable to stored cross-site scripting. This vulnerability allows unauthorized scripts to be executed within the user's browser context. Stored XSS is particularly critical, as the malicious code is permanently stored on the server and executed whenever a compromised page is loaded, affecting all users accessing this page. Version 3.2.8 fixes the issue.","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":"WeGIA vulnerable to Stored XSS in personalizacao.php","id":"CVE-2025-30366","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"wegia:wegia","products":["wegia:wegia"],"type":"xss","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"WeGIA SQL Injection Vulnerability in nextPage Parameter on control.php Endpoint","id":"CVE-2025-30367"},"packages":[],"prev":{"headline":"SQL Injection in query_geracao_auto.php","id":"CVE-2025-30365"},"products":["WeGIA"],"published":"2025-03-27","related":[{"cvss_score":10,"headline":"WeGIA Vulnerable to Remote Code Execution (RCE) via OS Command Injection","id":"CVE-2026-28409","kev_date_added":null,"published":"2026-02-27"},{"cvss_score":10,"headline":"WeGIA has a bypass for the fix for CVE-2025-22133 - Arbitrary File Upload leads to Remote Code Execution (RCE)","id":"CVE-2025-58745","kev_date_added":null,"published":"2025-09-08"},{"cvss_score":10,"headline":"WeGIA Authenticated Arbitrary File Upload Leading To Remote Code Execution (RCE)","id":"CVE-2025-58159","kev_date_added":null,"published":"2025-08-29"},{"cvss_score":10,"headline":"WeGIA Path Traversal at endpoint 'html/socio/sistema/download_remessa.php' via parameter 'file'","id":"CVE-2025-55169","kev_date_added":null,"published":"2025-08-12"},{"cvss_score":10,"headline":"WeGIA vulnerable to SQL Injection (Blind Time-Based) in `processa_deletar_socio.php` parameter `id_socio`","id":"CVE-2025-53823","kev_date_added":null,"published":"2025-07-14"},{"cvss_score":10,"headline":"WeGIA has Unauthenticated Time-Based Blind SQL Injection in almox Parameter","id":"CVE-2025-53091","kev_date_added":null,"published":"2025-06-27"},{"cvss_score":10,"headline":"Unauthenticated SQL Injection on get_socios.php endpoint","id":"CVE-2025-46828","kev_date_added":null,"published":"2025-05-07"}],"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-27","vendors":["LabRedesCefetRJ"]},"summary":"Stored XSS in WeGIA allows attackers to inject scripts executed in users' browsers, potentially leading to session hijacking or data theft.","url":"https://insights.sbomify.com/CVE-2025-30366/"}