CVE-2017-5124

MEDIUM

Google Chrome < 62.0.3202.62 - Universal Cross-Site Scripting via MHTML Page

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2017-5124. PoCs published by Anton Lopanitsyn, Bo0oM.

AI-analyzed exploit summary This exploit leverages CVE-2017-5124, a vulnerability in Chrome's handling of MHTML files, to execute arbitrary JavaScript in the context of a different origin. The PoC uses a multipart MHTML file with an embedded XSL stylesheet to bypass same-origin policy restrictions.

Description

Incorrect application of sandboxing in Blink in Google Chrome prior to 62.0.3202.62 allowed a remote attacker to inject arbitrary scripts or HTML (UXSS) via a crafted MHTML page.

Exploits (2)

exploitdb WORKING POC
by Anton Lopanitsyn · textlocalmultiple
https://www.exploit-db.com/exploits/45867

This exploit leverages CVE-2017-5124, a vulnerability in Chrome's handling of MHTML files, to execute arbitrary JavaScript in the context of a different origin. The PoC uses a multipart MHTML file with an embedded XSL stylesheet to bypass same-origin policy restrictions.

Classification
Working Poc 90%
Attack Type
Xss
Complexity
Trivial
Reliability
Reliable
Target: Google Chrome < 56.0.2924.76
No auth needed
Prerequisites: Victim must open the crafted MHTML file in a vulnerable version of Chrome
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 160 stars
by Bo0oM · poc
https://github.com/Bo0oM/CVE-2017-5124

This PoC demonstrates a Universal Cross-Site Scripting (UXSS) vulnerability in Chrome via MHTML. The PHP script serves a malicious MHTML file, exploiting improper handling of multipart/related content to achieve script execution in the context of another site.

Classification
Working Poc 90%
Attack Type
Xss
Complexity
Trivial
Reliability
Reliable
Target: Google Chrome 61.0.3163.100
No auth needed
Prerequisites: Victim must visit the malicious URL · Chrome version 61.0.3163.100 or vulnerable version
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (9)

Core 9
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/101482
Issue Tracking x_refsource_misc
https://crbug.com/762930
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2017/dsa-4020
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2017:2997
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201710-24
Various Sources x_refsource_misc
https://github.com/Bo0oM/CVE-2017-5124

Scores

CVSS v3 6.1
EPSS 0.0524
EPSS Percentile 91.5%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Details

CWE
CWE-79
Status published
Products (3)
debian/debian_linux 8.0
debian/debian_linux 9.0
google/chrome < 62.0.3202.62
Published Feb 07, 2018
Tracked Since Feb 18, 2026