Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/40837?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40837?format=api", "vulnerability_id": "VCID-336n-hpzg-euhd", "summary": "Cross-site Scripting\nThe 'manage groups' capability did not have the 'XSS risk' flag assigned to it, but does have that access in certain places. Note that the capability is intended for use by trusted users, and is only assigned to teachers and managers by default.", "aliases": [ { "alias": "CVE-2019-3808" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/57634?format=api", "purl": "pkg:composer/moodle/moodle@3.1.16", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.1.16" }, { "url": "http://public2.vulnerablecode.io/api/packages/57641?format=api", "purl": "pkg:composer/moodle/moodle@3.4.7", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.4.7" }, { "url": "http://public2.vulnerablecode.io/api/packages/57642?format=api", "purl": "pkg:composer/moodle/moodle@3.5.4", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.5.4" }, { "url": "http://public2.vulnerablecode.io/api/packages/57643?format=api", "purl": "pkg:composer/moodle/moodle@3.6.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.6.2" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/53188?format=api", "purl": "pkg:composer/moodle/moodle@3.1.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-2dxb-v1af-jbax" }, { "vulnerability": "VCID-336n-hpzg-euhd" }, { "vulnerability": "VCID-4rz2-b4e3-87g5" }, { "vulnerability": "VCID-5rbf-4dz3-2qdz" }, { "vulnerability": "VCID-65y9-9ur2-pugc" }, { "vulnerability": "VCID-83kb-4mk9-t7ge" }, { "vulnerability": "VCID-8mgr-gdzj-4ybs" }, { "vulnerability": "VCID-9nd7-4wve-97hc" }, { "vulnerability": "VCID-9t4u-n1pn-w3bd" }, { "vulnerability": "VCID-b7br-bh2d-rygp" }, { "vulnerability": "VCID-bjnq-q2nd-1khp" }, { "vulnerability": "VCID-ckg1-9vpt-yfdk" }, { "vulnerability": "VCID-deur-8zdf-2kh2" }, { "vulnerability": "VCID-dhku-uah4-ykh8" }, { "vulnerability": "VCID-e2zc-7ujn-wybu" }, { "vulnerability": "VCID-edf3-ktcc-gydc" }, { "vulnerability": "VCID-fegs-ubsk-63hu" }, { "vulnerability": "VCID-fsex-f512-pudv" }, { "vulnerability": "VCID-g8ct-c4ce-zuaf" }, { "vulnerability": "VCID-jn5n-6hg9-tyf7" }, { "vulnerability": "VCID-k73h-z6j8-gkgz" }, { "vulnerability": "VCID-m4zv-e3dn-budf" }, { "vulnerability": "VCID-p2gd-7uam-mqf8" }, { "vulnerability": "VCID-q2fa-jymp-c3bb" }, { "vulnerability": "VCID-qtt4-455b-abb6" }, { "vulnerability": "VCID-qxsq-ku22-r7gx" }, { "vulnerability": "VCID-v54t-5thx-1beu" }, { "vulnerability": "VCID-vb67-yux5-ayhf" }, { "vulnerability": "VCID-vfp6-4h8n-bkax" }, { "vulnerability": "VCID-vtq4-fpr8-hudb" }, { "vulnerability": "VCID-x927-nh46-7fdy" }, { "vulnerability": "VCID-yp82-zj5g-pbaf" }, { "vulnerability": "VCID-zgzm-wj81-jkah" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.1.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/57083?format=api", "purl": "pkg:composer/moodle/moodle@3.1.15", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-336n-hpzg-euhd" }, { "vulnerability": "VCID-9t4u-n1pn-w3bd" }, { "vulnerability": "VCID-k73h-z6j8-gkgz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.1.15" }, { "url": "http://public2.vulnerablecode.io/api/packages/54895?format=api", "purl": "pkg:composer/moodle/moodle@3.4.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-336n-hpzg-euhd" }, { "vulnerability": "VCID-4rz2-b4e3-87g5" }, { "vulnerability": "VCID-8mgr-gdzj-4ybs" }, { "vulnerability": "VCID-b7br-bh2d-rygp" }, { "vulnerability": "VCID-bjnq-q2nd-1khp" }, { "vulnerability": "VCID-ckg1-9vpt-yfdk" }, { "vulnerability": "VCID-deur-8zdf-2kh2" }, { "vulnerability": "VCID-duna-st9c-mqbk" }, { "vulnerability": "VCID-fegs-ubsk-63hu" }, { "vulnerability": "VCID-fygy-9njn-abgd" }, { "vulnerability": "VCID-g8ct-c4ce-zuaf" }, { "vulnerability": "VCID-k73h-z6j8-gkgz" }, { "vulnerability": "VCID-m4zv-e3dn-budf" }, { "vulnerability": "VCID-mmg3-7fz9-5uak" }, { "vulnerability": "VCID-nc2j-pay7-ryab" }, { "vulnerability": "VCID-p2gd-7uam-mqf8" }, { "vulnerability": "VCID-qxsq-ku22-r7gx" }, { "vulnerability": "VCID-r6kn-b963-eqge" }, { "vulnerability": "VCID-s6uu-335k-yfbc" }, { "vulnerability": "VCID-vfp6-4h8n-bkax" }, { "vulnerability": "VCID-x9vd-njdz-jua9" }, { "vulnerability": "VCID-yghg-775s-vber" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.4.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/57085?format=api", "purl": "pkg:composer/moodle/moodle@3.4.6", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-336n-hpzg-euhd" }, { "vulnerability": "VCID-k73h-z6j8-gkgz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.4.6" }, { "url": "http://public2.vulnerablecode.io/api/packages/56056?format=api", "purl": "pkg:composer/moodle/moodle@3.5.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-336n-hpzg-euhd" }, { "vulnerability": "VCID-4rz2-b4e3-87g5" }, { "vulnerability": "VCID-8mgr-gdzj-4ybs" }, { "vulnerability": "VCID-akv3-zfp8-kkc7" }, { "vulnerability": "VCID-bjnq-q2nd-1khp" }, { "vulnerability": "VCID-deur-8zdf-2kh2" }, { "vulnerability": "VCID-k73h-z6j8-gkgz" }, { "vulnerability": "VCID-mmg3-7fz9-5uak" }, { "vulnerability": "VCID-qhv1-wgpm-7fh6" }, { "vulnerability": "VCID-qxsq-ku22-r7gx" }, { "vulnerability": "VCID-r6kn-b963-eqge" }, { "vulnerability": "VCID-s6uu-335k-yfbc" }, { "vulnerability": "VCID-vfp6-4h8n-bkax" }, { "vulnerability": "VCID-x72x-7e66-yff3" }, { "vulnerability": "VCID-x9vd-njdz-jua9" }, { "vulnerability": "VCID-zjrq-np3y-hua5" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.5.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/57086?format=api", "purl": "pkg:composer/moodle/moodle@3.5.3", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-336n-hpzg-euhd" }, { "vulnerability": "VCID-k73h-z6j8-gkgz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.5.3" }, { "url": "http://public2.vulnerablecode.io/api/packages/57639?format=api", "purl": "pkg:composer/moodle/moodle@3.6.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-336n-hpzg-euhd" }, { "vulnerability": "VCID-akv3-zfp8-kkc7" }, { "vulnerability": "VCID-deur-8zdf-2kh2" }, { "vulnerability": "VCID-eaf7-c68j-audm" }, { "vulnerability": "VCID-k73h-z6j8-gkgz" }, { "vulnerability": "VCID-qhv1-wgpm-7fh6" }, { "vulnerability": "VCID-qxsq-ku22-r7gx" }, { "vulnerability": "VCID-r6kn-b963-eqge" }, { "vulnerability": "VCID-s6uu-335k-yfbc" }, { "vulnerability": "VCID-zjrq-np3y-hua5" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.6.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/57640?format=api", "purl": "pkg:composer/moodle/moodle@3.6.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-336n-hpzg-euhd" }, { "vulnerability": "VCID-k73h-z6j8-gkgz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.6.1" } ], "references": [ { "reference_url": "http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-64395", "reference_id": "", "reference_type": "", "scores": [], "url": "http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-64395" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3808", "reference_id": "", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3808" }, { "reference_url": "https://moodle.org/mod/forum/discuss.php?d=381228#p1536765", "reference_id": "", "reference_type": "", "scores": [], "url": "https://moodle.org/mod/forum/discuss.php?d=381228#p1536765" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-3808", "reference_id": "CVE-2019-3808", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-3808" } ], "weaknesses": [ { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." }, { "cwe_id": 79, "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')", "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." } ], "exploits": [], "severity_range_score": null, "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-336n-hpzg-euhd" }