phpCAS client library and Moodle Cross-site Scripting vulnerability
Cross-site scripting (XSS) vulnerability in the phpCAS client library before 1.1.0, as used in Moodle 1.8.x before 1.8.12 and 1.9.x before 1.9.8, allows remote attackers to inject arbitrary web script or HTML via a crafted URL, which is not properly handled in an error message.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | apereo/phpcas | < 1.1.0 | 1.1.0 |
| Composer package | moodle/moodle | >= 1.8.0, < 1.8.12, >= 1.9.0, < 1.9.8 | 1.8.12, 1.9.8 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2010-1618
- https://github.com/apereo/phpCAS/commit/021633112198b37555b35340cde884d1016d9e47
- https://github.com/apereo/phpCAS
- http://lists.opensuse.org/opensuse-security-announce/2010-05/msg00001.html
- http://moodle.org/security
- http://www.ja-sig.org/issues/browse/PHPCAS-52
- http://www.ja-sig.org/wiki/display/CASC/phpCAS+ChangeLog
- http://www.vupen.com/english/advisories/2010/1107
- Weakness (CWE)
CWE-79- Platform
- Composer
- Package
apereo/phpcas, moodle/moodle- Disclosed
- 13.05.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-45ch-hxgr-vx8j - CC BY 4.0
Vulnerability history: apereo/phpcas
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 05.2022 11.2022
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 1
Disclosures per year
- 2022: 2
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
phpCAS client library and Moodle Cross-site Scripting vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.