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 malicious URL that advertises an image content-type but serves HTML/JavaScript, causing the proxy to serve attacker-controlled scripts under 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 during download, but during serving, it derives the Content-Type by sniffing the actual bytes. This inconsistency allows an attacker to host a URL that claims to be an image (e.g., Content-Type: image/png) but returns HTML/JavaScript content. The proxy accepts the resource as an image during download but serves it with a text/html content-type after sniffing, causing the victim's browser to execute attacker-controlled scripts within Remark42's origin. No Remark42 account is needed for exploitation; the attacker only needs to host the malicious URL and deliver the proxy link to a victim. The vulnerability affects Remark42 versions 1.6.0 through 1.15.0 and is fixed in 1.16.0.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the Remark42 origin, leading to potential theft of sensitive information, session hijacking, or other actions permitted by the victim's browser security context. The vulnerability requires user interaction (clicking or visiting the malicious proxy link) but no authentication. The CVSS score of 8.2 reflects high severity with network attack vector, low attack complexity, no privileges required, user interaction required, scope change, high confidentiality impact, low integrity impact, and no availability impact.
Mitigation Recommendations
Upgrade Remark42 to version 1.16.0 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Until upgrading, avoid clicking or distributing untrusted proxy links that fetch remote images 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 malicious URL that advertises an image content-type but serves HTML/JavaScript, causing the proxy to serve attacker-controlled scripts under 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 during download, but during serving, it derives the Content-Type by sniffing the actual bytes. This inconsistency allows an attacker to host a URL that claims to be an image (e.g., Content-Type: image/png) but returns HTML/JavaScript content. The proxy accepts the resource as an image during download but serves it with a text/html content-type after sniffing, causing the victim's browser to execute attacker-controlled scripts within Remark42's origin. No Remark42 account is needed for exploitation; the attacker only needs to host the malicious URL and deliver the proxy link to a victim. The vulnerability affects Remark42 versions 1.6.0 through 1.15.0 and is fixed in 1.16.0.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the Remark42 origin, leading to potential theft of sensitive information, session hijacking, or other actions permitted by the victim's browser security context. The vulnerability requires user interaction (clicking or visiting the malicious proxy link) but no authentication. The CVSS score of 8.2 reflects high severity with network attack vector, low attack complexity, no privileges required, user interaction required, scope change, high confidentiality impact, low integrity impact, and no availability impact.
Mitigation Recommendations
Upgrade Remark42 to version 1.16.0 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Until upgrading, avoid clicking or distributing untrusted proxy links that fetch remote images 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: 06/16/2026, 23:15:15 UTC
Last enriched: 06/26/2026, 22:15:19 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 84
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.