MobileDetect Example session_example.php initLayoutType cross site scripting
Published Feb 4, 2023
6.1
MEDIUMCVSS 3.1
EPSS 2.66%
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 identifier of the patch is 31818a441b095bdc4838602dbb17b8377d1e5cce. It is recommended to upgrade the affected component. The identifier VDB-220061 was assigned to this vulnerability.
Affected products
- Vendor n/a Product MobileDetect Defaultn/a
- Version 2.8.31StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | MobileDetect | n/a |
|
- 2.8.31
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
1 other source (CVE.org) ▾
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
AV:N/AC:L/Au:S/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2023–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (19 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.66% (0.02655) | 85.14th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.63% (0.02634) | 83.51th | v5 (v2026.06.15) |
| May 2, 2026 | 2.15% (0.02149) | 84.33th | v4 (v2025.03.14) |
| Feb 16, 2026 | 3.45% (0.03451) | 87.23th | v4 (v2025.03.14) |
| Feb 9, 2026 | 5.82% (0.05824) | 90.31th | v4 (v2025.03.14) |
| Feb 5, 2026 | 1.17% (0.01165) | 78.25th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.06% (0.00059) | 15.55th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.11% (0.00106) | 44.90th | v3 (v2023.03.01) |
| Jul 17, 2024 | 0.11% (0.00109) | 44.30th | v3 (v2023.03.01) |
| May 11, 2024 | 0.09% (0.00091) | 38.73th | v3 (v2023.03.01) |
| Mar 8, 2024 | 0.08% (0.00080) | 32.79th | v3 (v2023.03.01) |
| Feb 11, 2024 | 0.07% (0.00074) | 29.94th | v3 (v2023.03.01) |
| Jan 5, 2024 | 0.06% (0.00060) | 23.39th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.05% (0.00052) | 18.29th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Feb 25, 2023 | 1.02% (0.01018) | 40.59th | v2 (v2022.01.01) |
| Feb 14, 2023 | 4.13% (0.04134) | 85.66th | v2 (v2022.01.01) |
| Feb 10, 2023 | 3.87% (0.03867) | 85.24th | v2 (v2022.01.01) |
| Feb 4, 2023 | 0.95% (0.00950) | 31.67th | v2 (v2022.01.01) |
References (8)
- https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2018-25080.md
- https://github.com/advisories/GHSA-r77c-qv68-j3pp Advisory
- https://github.com/serbanghita/Mobile-Detect/commit/31818a441b095bdc4838602dbb17b8377d1e5cce patch
- https://github.com/serbanghita/Mobile-Detect/pull/741 exploitissue-trackingIssue TrackingPatch
- https://github.com/serbanghita/Mobile-Detect/releases/tag/2.8.32 patchRelease Notes
- https://nvd.nist.gov/vuln/detail/CVE-2018-25080
- https://vuldb.com/?ctiid.220061 signaturepermissions-requiredPermissions RequiredThird Party Advisory
- https://vuldb.com/?id.220061 vdb-entrytechnical-descriptionPermissions RequiredThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2018-25080.md | ||
| https://github.com/advisories/GHSA-r77c-qv68-j3pp | Advisory | |
| https://github.com/serbanghita/Mobile-Detect/commit/31818a441b095bdc4838602dbb17b8377d1e5cce | patch | |
| https://github.com/serbanghita/Mobile-Detect/pull/741 | exploitissue-trackingIssue TrackingPatch | |
| https://github.com/serbanghita/Mobile-Detect/releases/tag/2.8.32 | patchRelease Notes | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-25080 | ||
| https://vuldb.com/?ctiid.220061 | signaturepermissions-requiredPermissions RequiredThird Party Advisory | |
| https://vuldb.com/?id.220061 | vdb-entrytechnical-descriptionPermissions RequiredThird Party Advisory |
Change history (0)
No recorded changes yet.