CVE-2023-28331
PHP vulnerability analysis and mitigation

Overview

CVE-2023-28331 is a security vulnerability discovered in Moodle, a Course Management System. The vulnerability was identified when content output by the database auto-linking filter required additional sanitizing to prevent an XSS (Cross-Site Scripting) risk. This vulnerability affects Moodle versions 4.1 to 4.1.1, 4.0 to 4.0.6, 3.11 to 3.11.12, 3.9 to 3.9.19 and earlier unsupported versions (Moodle Forum).

Technical details

The vulnerability is classified as a Cross-site Scripting (CWE-79) issue with a CVSS v3.1 base score of 6.1 (Medium). The attack vector is network-based (AV:N), with low attack complexity (AC:L), requiring no privileges (PR:N), and user interaction (UI:R). The scope is changed (S:C), with low confidentiality and integrity impact (C:L, I:L), and no availability impact (A:N) (NVD).

Impact

The vulnerability could allow attackers to execute cross-site scripting attacks through the database auto-linking filter output, potentially leading to unauthorized access to user data and compromised web interface integrity (Moodle Forum).

Exploitability

The vulnerability requires user interaction and can be exploited through the database auto-linking filter output. No known exploits in the wild have been reported at the time of disclosure (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Moodle versions 4.1.2, 4.0.7, 3.11.13, and 3.9.20. As a temporary workaround, administrators can disable the database auto-linking filter until the patch has been applied (Moodle Forum).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-77143HIGH8.8
  • PHP logoPHP
  • composer://jweiland/pforum
NoYesAug 25, 2026
CVE-2026-77142HIGH8.8
  • PHP logoPHP
  • composer://jweiland/yellowpages2
NoYesAug 25, 2026
CVE-2026-77146HIGH8.3
  • PHP logoPHP
  • composer://in2code/femanager
NoYesAug 25, 2026
CVE-2026-77145HIGH7.1
  • PHP logoPHP
  • composer://jweiland/events2
NoYesAug 25, 2026
CVE-2026-77144HIGH7.1
  • PHP logoPHP
  • composer://jweiland/events2
NoYesAug 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management