Skip to main content

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CVE-2023-23921

Severity Medium
Score 6.1/10

Summary

The vulnerability was found in Moodle, which exists due to insufficient sanitization of user-supplied data in some "returnurl" parameters. Versions through v3.9.18, v3.10.0-beta through v3.11.11, v4.0.0-beta through v4.0.5 and v4.1.0-beta through v4.1.0 are affected by this vulnerability. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in a user's browser in the context of a vulnerable website. This flaw allows a remote attacker to perform Cross-site Scripting (XSS) attacks.

  • LOW
  • NETWORK
  • LOW
  • CHANGED
  • REQUIRED
  • NONE
  • LOW
  • NONE

CWE-79 - Cross Site Scripting

Cross-Site Scripting, commonly referred to as XSS, is the most dominant class of vulnerabilities. It allows an attacker to inject malicious code into a pregnable web application and victimize its users. The exploitation of such a weakness can cause severe issues such as account takeover, and sensitive data exfiltration. Because of the prevalence of XSS vulnerabilities and their high rate of exploitation, it has remained in the OWASP top 10 vulnerabilities for years.

Advisory Timeline

  • Published