CVE-2026-48788: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in umputun remark42
Remark42 versions 1.6.0 through 1.15.0 contain a cross-site scripting (XSS) vulnerability due to inconsistent content-type validation in its image proxy. An attacker can host a URL that falsely advertises an image content-type but serves HTML/JavaScript, causing the proxy to serve attacker-controlled scripts within Remark42's origin. Exploitation requires no user account and can be triggered by delivering the malicious proxy link to victims. This vulnerability is fixed in version 1.16.0.
AI Analysis
Technical Summary
Remark42's image proxy fetches remote URLs and determines if the resource is an image by inspecting only the Content-Type header from the remote server during download, without verifying the actual content bytes. When serving the resource, it uses http.DetectContentType to sniff the bytes and sets the response Content-Type accordingly. This mismatch allows an attacker to serve a resource with a spoofed Content-Type header (e.g., image/png) but actual HTML/JavaScript content. The proxy accepts it as an image during download but serves it as text/html, enabling cross-site scripting within Remark42's origin. No authentication is required to exploit this vulnerability. The issue affects Remark42 versions 1.6.0 through 1.15.0 and is resolved in 1.16.0.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the Remark42 origin, potentially leading to session hijacking, defacement, or other actions limited by the browser's same-origin policy. The vulnerability requires no privileges on the target instance and can be triggered by delivering a malicious proxy URL to victims. The CVSS score of 8.2 reflects high severity with network attack vector, low attack complexity, no privileges required, user interaction required, scope changed, high confidentiality impact, low integrity impact, and no availability impact.
Mitigation Recommendations
Upgrade Remark42 to version 1.16.0 or later, where this vulnerability has been fixed. Patch status is confirmed by the vendor advisory stating the issue is resolved in 1.16.0. Until upgrading, avoid clicking or distributing untrusted proxy URLs that fetch remote content through Remark42's image proxy.
CVE-2026-48788: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in umputun remark42
Description
Remark42 versions 1.6.0 through 1.15.0 contain a cross-site scripting (XSS) vulnerability due to inconsistent content-type validation in its image proxy. An attacker can host a URL that falsely advertises an image content-type but serves HTML/JavaScript, causing the proxy to serve attacker-controlled scripts within Remark42's origin. Exploitation requires no user account and can be triggered by delivering the malicious proxy link to victims. This vulnerability is fixed in version 1.16.0.
CVSS v3.0
Score 8.2high
Affected software
pkg:github/umputun/remark42Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Remark42's image proxy fetches remote URLs and determines if the resource is an image by inspecting only the Content-Type header from the remote server during download, without verifying the actual content bytes. When serving the resource, it uses http.DetectContentType to sniff the bytes and sets the response Content-Type accordingly. This mismatch allows an attacker to serve a resource with a spoofed Content-Type header (e.g., image/png) but actual HTML/JavaScript content. The proxy accepts it as an image during download but serves it as text/html, enabling cross-site scripting within Remark42's origin. No authentication is required to exploit this vulnerability. The issue affects Remark42 versions 1.6.0 through 1.15.0 and is resolved in 1.16.0.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the Remark42 origin, potentially leading to session hijacking, defacement, or other actions limited by the browser's same-origin policy. The vulnerability requires no privileges on the target instance and can be triggered by delivering a malicious proxy URL to victims. The CVSS score of 8.2 reflects high severity with network attack vector, low attack complexity, no privileges required, user interaction required, scope changed, high confidentiality impact, low integrity impact, and no availability impact.
Mitigation Recommendations
Upgrade Remark42 to version 1.16.0 or later, where this vulnerability has been fixed. Patch status is confirmed by the vendor advisory stating the issue is resolved in 1.16.0. Until upgrading, avoid clicking or distributing untrusted proxy URLs that fetch remote content through Remark42's image proxy.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-22T20:18:20.365Z
- Cvss Version
- 3.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a31d9030b89be68884780e9
Added to database: 6/16/2026, 11:15:15 PM
Last enriched: 6/16/2026, 11:30:07 PM
Last updated: 6/17/2026, 12:16:58 AM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.