Security mailing lists by PureSourceCode

CVE-2018-25080

MEDIUM 6.1CVSS 3.1

Cross-site Scripting in MobileDetect

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.

Published
4 Feb 2023
Last modified
17 Jun 2026
Assigned by
cna@vuldb.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-r77c-qv68-j3pp
Sources
NVDJSONOSV GHSA-r77c-qv68-j3ppJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD cna@vuldb.com (Secondary) CVSS 3.1 LOW 3.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
NVD cna@vuldb.com (Secondary) CVSS 2.0 MEDIUM 4.0 AV:N/AC:L/Au:S/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mobiledetect mobiledetect
cpe:2.3:a:mobiledetect:mobiledetect:2.8.31:*:*:*:*:*:*:*
= 2.8.31
OSV Packagist mobiledetect/mobiledetectlib < 2.8.32 2.8.32

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 4 Feb 2023)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 4 Feb 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.