CVE-2026-145819
MediumCVSS 5.9Summary
Remark42 through 1.18.0 contains a path traversal vulnerability that allows authenticated commenters to touch, probe, and delete files by embedding '..' segments in comment img src paths. Attackers can post a comment with an image URL ending in /../<filename> so that admin deletion removes files such as the bolt database, causing data loss and denial of service.
Risk Assessment
Data loss and denial of service can disrupt application operations and cause permanent damage to organizational data.
Recommendation
Update Remark42 to a version later than 1.18.0, which fixes the path traversal vulnerability.
Other vulnerabilities in Remark42
See all- CVE-2026-77463Medium
Remark42 from 1.0.0 until 1.16.2 globally trusts True-Client-IP, X-Real-IP, and X-Forwarded-For without verifying that the direct peer is a trusted proxy, and middleware.RealIP overwrites r.RemoteAddr before per-IP controls run. In a directly reachable deployment, or a proxy that forwards attacker-controlled headers, a remote attacker can rotate spoofed forwarding headers to obtain fresh token buckets for rate-limited endpoints, bypass vote de-duplication when --votes-ip is enabled, mint anonymous identities, and poison stored comment IPs and request logs. The global concurrent-request throttle and per-request timeouts still limit availability impact.
- CVE-2026-48788High
Remark42, a comment engine for blogs, has an XSS vulnerability in versions 1.6.0 through 1.15.0 that can be exploited through content-type spoofing. An attacker can use this flaw to inject malicious HTML/JavaScript code into a document within Remark42.
Original NVD description (English source)
Remark42 through 1.18.0 contains a path traversal vulnerability that allows authenticated commenters to touch, probe, and delete files by embedding '..' segments in comment img src paths. Attackers can post a comment with an image URL ending in /../<filename> so that admin deletion removes files such as the bolt database, causing data loss and denial of service.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

