CVE-2025-67850

Source
https://cve.org/CVERecord?id=CVE-2025-67850
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-67850.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-67850
Aliases
Downstream
Published
2026-02-03T11:15:55.213Z
Modified
2026-03-13T03:42:36.743864Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

A flaw was found in moodle. This vulnerability, known as Cross-Site Scripting (XSS), occurs due to insufficient checks on user-provided data in the formula editor's arithmetic expression fields. A remote attacker could inject malicious code into these fields. When other users view these expressions, the malicious code would execute in their web browsers, potentially compromising their data or leading to unauthorized actions.

References

Affected packages

Git / github.com/moodle/moodle

Affected ranges

Type
GIT
Repo
https://github.com/moodle/moodle
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Fixed
Introduced
Fixed
Introduced
Fixed
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "4.1.22"
        },
        {
            "introduced": "4.4.0"
        },
        {
            "fixed": "4.4.11"
        },
        {
            "introduced": "4.5.0"
        },
        {
            "fixed": "4.5.8"
        },
        {
            "introduced": "5.0.0"
        },
        {
            "fixed": "5.0.4"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.1.0-NA"
        }
    ]
}

Affected versions

v4.*
v4.4.0
v4.5.0
v4.5.0-beta
v4.5.0-rc1
v4.5.0-rc2
v5.*
v5.0.0
v5.0.0-beta
v5.0.0-rc1
v5.0.0-rc2
v5.0.0-rc3
v5.1.0
v5.1.0-beta
v5.1.0-rc1
v5.1.0-rc2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-67850.json"