What’s Vulnerable › Vulnerabilities
CVE-2018-5249
- Severity: medium (CVSS 6.1 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-01-05 · updated 2026-06-17
- Weakness: CWE-79
Description
Cross-site scripting (XSS) vulnerability in Shaarli before 0.8.5 and 0.9.x before 0.9.3 allows remote attackers to inject arbitrary code via the login form's username field (aka the login parameter to the ban_canLogin function in index.php).
Affected products
- Shaarli: before 0.8.5; from 0.9.0 before 0.9.3 — fixed in 0.8.5, 0.9.3
How to fix
Upgrade to a fixed version: Shaarli 0.8.5, 0.9.3. Check the vendor advisory for mitigations.
References
- https://github.com/shaarli/Shaarli/pull/1046
- https://github.com/shaarli/Shaarli/releases/tag/v0.8.5
- https://github.com/shaarli/Shaarli/releases/tag/v0.9.3
- https://github.com/shaarli/Shaarli/pull/1046
- https://github.com/shaarli/Shaarli/releases/tag/v0.8.5
- https://github.com/shaarli/Shaarli/releases/tag/v0.9.3
Get alerted when CVE-2018-5249 or the next vulnerability affects your stack