---
title: "CVE-2018-5249\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2018-5249?format=md
keywords: index, follow
---

# CVE-2018-5249

Publication date 5 January 2018

Last updated 17 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**6.1 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2018-5249?format=md#impact-score)

Toggle side navigation

## 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).

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| shaarli | 19.04 disco | Not in release |
| 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 17.04 zesty | Not in release |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

6.1 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Changed |
  | Confidentiality impact | Low |
  | Integrity impact | Low |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 6.1 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5249)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-5249)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-5249)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-5249)

### Other 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://www.cve.org/CVERecord?id=CVE-2018-5249>
