GitHub Advisoryadvisory · Packagist
GHSA-r77c-qv68-j3pp Cross-site Scripting in MobileDetect
MEDIUM
Official page ↗
- Aliases
- CVE-2018-25080
- Ecosystem
- Packagist
- Packages
- mobiledetect/mobiledetectlib
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2023-02-14
Affected packages
• Packagist mobiledetect/mobiledetectlib: < 2.8.32 → fixed in 2.8.32
Description
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 name of the patch is 31818a441b095bdc4838602dbb17b8377d1e5cce. It is recommended to upgrade the affected component. The identifier VDB-220061 was assigned to this vulnerability.
Related
Alias · CVE (1)
- CVE-2018-25080 A vulnerability, which was classified as problematic, has been found in MobileDetect 2.8.31. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-25080 advisory
- https://github.com/serbanghita/Mobile-Detect/pull/741 web
- https://github.com/serbanghita/Mobile-Detect/commit/31818a441b095bdc4838602dbb17b8377d1e5cce web
- https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2018-25080.md web
- https://github.com/serbanghita/Mobile-Detect package
- https://github.com/serbanghita/Mobile-Detect/releases/tag/2.8.32 web
- https://vuldb.com/?ctiid.220061 web
- https://vuldb.com/?id.220061 web