Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/38706?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38706?format=api", "vulnerability_id": "VCID-1vfj-98ky-yffc", "summary": "XSS vulnerability in code example\nThe `code_generator.phps` example does not filter user input prior to output. This file is distributed with a `.phps` extension, so it it not normally executable unless it is explicitly renamed, so it is safe by default. There's also an undisclosed potential XSS vulnerability in the default exception handler (unused by default).", "aliases": [ { "alias": "CVE-2017-11503" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/53834?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.24", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.24" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/53831?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.0.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-1vfj-98ky-yffc" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.0.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/53832?format=api", "purl": "pkg:composer/phpmailer/phpmailer@6.0.0-alpha0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-1vfj-98ky-yffc" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@6.0.0-alpha0" }, { "url": "http://public2.vulnerablecode.io/api/packages/53833?format=api", "purl": "pkg:composer/phpmailer/phpmailer@6.0.0-rc5", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-1vfj-98ky-yffc" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@6.0.0-rc5" } ], "references": [ { "reference_url": "https://github.com/PHPMailer/PHPMailer/commit/dbbc1397c41de56aa3a57c8188d19a345dea5c63", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/PHPMailer/PHPMailer/commit/dbbc1397c41de56aa3a57c8188d19a345dea5c63" }, { "reference_url": "https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.24", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.24" } ], "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-1vfj-98ky-yffc" }