---
title: "CVE-2022-0335\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-2022-0335?format=md
keywords: index, follow
---

# CVE-2022-0335

Publication date 25 January 2022

Last updated 26 August 2025

---

Ubuntu priority

**Medium**

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

## Cvss 3 Severity Score

**8.8 · High**

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

Toggle side navigation

## Description

A flaw was found in Moodle in versions 3.11 to 3.11.4, 3.10 to 3.10.8, 3.9
to 3.9.11 and earlier unsupported versions. The "delete badge alignment"
functionality did not include the necessary token check to prevent a CSRF
risk.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| moodle | 18.04 LTS bionic | Needs evaluation |
| 16.04 LTS xenial | Needs evaluation |
| 14.04 LTS trusty | Ignored end of standard support |

---

* [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**

8.8 · High

* Base metrics

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

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.8 · High |
  | Exploitability score | - |
  | Impact score | - |

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

## References

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

### Other references

* <https://bugzilla.redhat.com/show_bug.cgi?id=2043666>
* <https://moodle.org/mod/forum/discuss.php?d=431103>
* <https://www.cve.org/CVERecord?id=CVE-2022-0335>
