CVE-2018-25080
MobileDetect Example session_example.php initLayoutType cross site scripting
Vexday Risk Score
28Low
SSVC decision (CISA)
Attend
PoC available → attend closely
Exploit maturity
Proof of concept
Public proof of concept exists, but not yet automated.
CVSS 3.5EPSS 2.6%KEV nãoPoC públicaNuclei —Metasploit —Patch referenciado
Lifecycle
04 Feb 2023Published on NVD
03 Dec 2025Public PoC
Weaponization speed
1033 daysto first PoC
Recommendation: Plan a near-term fix — a public PoC already exists.
A vulnerability, which was classified as problematic, has been found in MobileDetect 2.8.31. This issue affects the function initLayoutType of the file examples/session_example.php of the component Example. The manipulation of the argument $_SERVER['PHP_SELF'] leads to cross site scripting. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 2.8.32 is able to address this issue. The identifier of the patch is 31818a441b095bdc4838602dbb17b8377d1e5cce. It is recommended to upgrade the affected component. The identifier VDB-220061 was assigned to this vulnerability.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
Affected products
n/a · MobileDetectpublic PoCs found — 2
cve_referencegithub.com/serbanghita/Mobile-Detect/pull/741unverifiedexploitdbwww.exploit-db.com/exploits/52454unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
References
https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2018-25080.mdhttps://github.com/serbanghita/Mobile-Detect/commit/31818a441b095bdc4838602dbb17b8377d1e5ccehttps://github.com/serbanghita/Mobile-Detect/pull/741https://github.com/serbanghita/Mobile-Detect/releases/tag/2.8.32https://vuldb.com/?ctiid.220061https://vuldb.com/?id.220061