Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2008-1502

CVE-2008-1502: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

May 1, 2022 (updated February 9, 2024)

The _bad_protocol_once function in phpgwapi/inc/class.kses.inc.php in KSES, as used in eGroupWare before 1.4.003, Moodle before 1.8.5, and other products, allows remote attackers to bypass HTML filtering and conduct cross-site scripting (XSS) attacks via a string containing crafted URL protocols.

References

  • docs.moodle.org/en/Release_Notes
  • lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.html
  • www.debian.org/security/2008/dsa-1691
  • www.debian.org/security/2009/dsa-1871
  • www.egroupware.org/changelog
  • www.egroupware.org/viewvc/branches/1.4/phpgwapi/inc/class.kses.inc.php?r1=23625&r2=25110&pathrev=25110
  • www.gentoo.org/security/en/glsa/glsa-200805-04.xml
  • www.openwall.com/lists/oss-security/2008/07/08/14
  • exchange.xforce.ibmcloud.com/vulnerabilities/41435
  • github.com/advisories/GHSA-v759-3wr5-p294
  • nvd.nist.gov/vuln/detail/CVE-2008-1502
  • usn.ubuntu.com/658-1/
  • web.archive.org/web/20080709031015/http://www.securityfocus.com/bid/28424
  • web.archive.org/web/20080828131802/http://secunia.com/advisories/31017
  • web.archive.org/web/20080905011948/http://secunia.com/advisories/31018
  • web.archive.org/web/20081011001554/http://secunia.com/advisories/31167
  • web.archive.org/web/20081025081058/http://secunia.com/advisories/32400
  • web.archive.org/web/20081028073531/http://secunia.com/advisories/32446
  • web.archive.org/web/20090129193143/http://secunia.com/advisories/30986
  • web.archive.org/web/20100819022833/http://secunia.com/advisories/30073
  • web.archive.org/web/20120719035305/http://secunia.com/advisories/29491
  • www.redhat.com/archives/fedora-package-announce/2008-July/msg00331.html

Code Behaviors & Features

Detect and mitigate CVE-2008-1502 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.8.5

Fixed versions

  • 1.8.5

Solution

Upgrade to version 1.8.5 or above.

Impact 4.3 MEDIUM

AV:N/AC:M/Au:N/C:N/I:P/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/moodle/moodle/CVE-2008-1502.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:07 +0000.