{"affected":[{"product":"WeGIA","source":"CNA: GitHub_M","vendor":"LabRedesCefetRJ","versions":[{"status":"affected","version":"< 3.8.7"}]}],"cveId":"CVE-2026-61673","cwes":["CWE-79"],"description":"WeGIA is a web manager for charitable institutions. Prior to 3.8.7, a stored DOM cross-site scripting vulnerability in `web/html/memorando/listar_despachos.php` results from unsafe handling of the `texto` field. The affected flow spans `web/controle/memorando/DespachoControle.php` and `web/dao/memorando/DespachoDAO.php`: `FILTER_SANITIZE_SPECIAL_CHARS` is applied during storage, but `html_entity_decode()` later decodes the stored content and `jQuery .html()` inserts the result into the DOM. An attacker able to submit a memorandum dispatch through `/controle/control.php` using `DespachoControle` and `metodo=incluir` can store malicious HTML or JavaScript. The code executes automatically when another user views the memorandum thread through `/html/memorando/listar_despachos.php` with `id_memorando`. This permits arbitrary JavaScript execution, theft of administrator `PHPSESSID` session tokens, privileged session hijacking, account takeover, and unauthorized access to privileged or internal functionality. This issue is fixed in version 3.8.7.","epss":{"date":"2026-11-03","percentile":0.26865,"score":0.00334},"exploits":[{"kind":"exploit","source":"ADP: CISA-ADP","url":"https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-83p7-cx5x-7g34"}],"kev":null,"metrics":[{"score":6.3,"severity":"medium","source":"CNA: GitHub_M","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:H/SI:H/SA:N","version":"4.0"}],"modifiedAt":1793757023862,"publishedAt":1793308942290,"references":[{"source":"CNA: GitHub_M","tags":["x_refsource_CONFIRM"],"url":"https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-83p7-cx5x-7g34"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/LabRedesCefetRJ/WeGIA/issues/516"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/LabRedesCefetRJ/WeGIA/commit/9524556c5940149e20cea389d2966dd010d3b5af"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.7"},{"source":"ADP: CISA-ADP","tags":["exploit"],"url":"https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-83p7-cx5x-7g34"}],"remediation":[],"revision":"aae58a342a414e5def76847eaf880ece0291117fe752496f916c34b2f2c3ecba","sources":[{"modifiedAt":1793757023862,"name":"CNA: GitHub_M","retrievedAt":1793758164780,"url":"https://www.cve.org/CVERecord?id=CVE-2026-61673"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1793758169376,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-61673"}],"ssvc":{"assessedAt":1793756990016,"automatable":"no","exploitation":"poc","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"WeGIA: Stored DOM XSS in listar_despachos.php Allows Account Takeover","updatedAt":1793758169376}