SecurityContext

CVE-2022-30596: Moodle - Stored XSS

  • Cve: CVE-2022-30596
  • Name: Moodle - Stored XSS
  • Description: A flaw was found in moodle where ID numbers displayed when bulk allocating markers to assignments required additional sanitizing to prevent a stored XSS risk.
  • Impact: Attackers can execute arbitrary scripts in the context of other users, potentially leading to session hijacking or data theft.
  • Remediation: Implement proper sanitization of ID numbers during bulk marker allocation to prevent XSS.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs to store malicious input
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00906
  • Epss percentile: 0.60758
  • Assignee: [email protected]
  • Published at: 2022-05-18T17:15:08Z
  • Age in days: 1651
  • Modified at: 2026-06-17T04:43:54Z
  • Patch available: yes
  • References total: 6
  • Products total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-30596
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
UrlTags
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-74204Patch, Vendor Advisory
https://moodle.org/mod/forum/discuss.php?d=434578Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2083583Issue Tracking, Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGF35EN5K2R6X3NTY3XPZSJ3UDASMXI6/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PIMSIRKCFLIC646K4GMUSZU7THOUVPAJ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QCTWSE3JDMSYL7DPCMXMMJEXZSS6VIA5/

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
moodle:moodle= 4.0.0; >= 3.11, < 3.11.7; >= 3.10, < 3.10.11; >= 3.9, < 3.9.14/v1/products/moodle/moodle
fedoraproject:fedora= 36, = 35, = 34/v1/products/fedoraproject/fedora
redhat:enterprise_linux= 8.0/v1/products/redhat/enterprise_linux

Projects

RepositoryLink kindsIndexedUrl
moodle/moodlecommit, fix, packageyes/v1/repositories/moodle/moodle

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 62525
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports