MobileDetect Example session_example.php initLayoutType cross site scripting
28Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 3.5epss 2.6%
from disclosure to weapon1033 days
Published on NVDFeb 4
1st PoC+1033d
exploitation probability
2.6%top 16% of all CVEs
observed exploitation
nono source reports it
2 public exploit(s)
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
exploitdbwww.exploit-db.com/exploits/52454unverifiedcve_referencegithub.com/serbanghita/Mobile-Detect/pull/741unverified⚠ 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