Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

serbanghita/mobile-detect
4.x @ ab39168
1
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Reflected XSS: 1 prior fix. Scrutinize any change in this area.
examples/session_example.php: most-fixed (1 issue). Treat as high-risk during review.
0 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Reflected XSS: The session_example.php script directly outputted the unsanitized $_SERVER['PHP_SELF'] variable, allowing attackers to inject malicious HTML or JavaScript into the user's browser session. Developers should avoid raw echo statements on global server variables without output encoding.