Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/174408?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/174408?format=api", "purl": "pkg:gem/avo@3.24.0", "type": "gem", "namespace": "", "name": "avo", "version": "3.24.0", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "3.31.2", "latest_non_vulnerable_version": "3.31.2", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/51582?format=api", "vulnerability_id": "VCID-b9dd-q5n1-3fcs", "summary": "Avo has a XSS vulnerability on `return_to` param\n## Description\n\nA reflected cross-site scripting (XSS) vulnerability exists in\nthe `return_to` query parameter used in the avo interface.\n\nAn attacker can craft a malicious URL that injects arbitrary\nJavaScript, which is executed when he clicks a dynamically\ngenerated navigation button.\n\n## Impact\n\nThis vulnerability may allow execution of arbitrary JavaScript\nin the context of the application.\n\nImpact varies depending on deployment:\n- In unauthenticated setups: exploitable via crafted links sent to users.\n- In authenticated setups: limited to authenticated users and\n requires interaction.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-33209", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00013", "scoring_system": "epss", "scoring_elements": "0.02177", "published_at": "2026-06-05T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-33209" }, { "reference_url": "https://github.com/avo-hq/avo", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.3", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/avo-hq/avo" }, { "reference_url": "https://github.com/avo-hq/avo/commit/4453d39ddc6309f3bc8ada73ef21e1971112de7d", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.3", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-03-24T18:06:50Z/" } ], "url": "https://github.com/avo-hq/avo/commit/4453d39ddc6309f3bc8ada73ef21e1971112de7d" }, { "reference_url": "https://github.com/avo-hq/avo/pull/4330", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.3", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-03-24T18:06:50Z/" } ], "url": "https://github.com/avo-hq/avo/pull/4330" }, { "reference_url": "https://github.com/avo-hq/avo/releases/tag/v3.30.3", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.3", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-03-24T18:06:50Z/" } ], "url": "https://github.com/avo-hq/avo/releases/tag/v3.30.3" }, { "reference_url": "https://github.com/avo-hq/avo/security/advisories/GHSA-762r-27w2-q22j", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.3", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-03-24T18:06:50Z/" } ], "url": "https://github.com/avo-hq/avo/security/advisories/GHSA-762r-27w2-q22j" }, { "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/avo/CVE-2026-33209.yml", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.3", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/avo/CVE-2026-33209.yml" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-33209", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.3", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-33209" }, { "reference_url": "https://github.com/advisories/GHSA-762r-27w2-q22j", "reference_id": "GHSA-762r-27w2-q22j", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-762r-27w2-q22j" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/113949?format=api", "purl": "pkg:gem/avo@3.30.3", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-u68f-bw9j-dyh8" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/avo@3.30.3" } ], "aliases": [ "CVE-2026-33209", "GHSA-762r-27w2-q22j" ], "risk_score": 3.1, "exploitability": "0.5", "weighted_severity": "6.2", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-b9dd-q5n1-3fcs" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/51583?format=api", "vulnerability_id": "VCID-u68f-bw9j-dyh8", "summary": "Broken Access Control Through Unauthorized Execution of Arbitrary Action Classes Across Resources\n### Summary\n\nA critical Broken Access Control vulnerability was identified in the\n`ActionsController` of the Avo framework (v3.x). Due to insecure\naction lookup logic, an authenticated user can execute any Action\nclass (descendants of `Avo::BaseAction`) on any resource, even if\nthe action is not registered for that specific resource. This leads\nto Privilege Escalation and unauthorized data manipulation across\nthe entire application.\n\n### Details\n\nThe vulnerability exists in the `action_class` method within\n`app/controllers/avo/actions_controller.rb`.\n\n#### Vulnerable Code\n\n```ruby\ndef action_class\n # It searches through ALL descendants of BaseAction without\n # resource validation.\n Avo::BaseAction.descendants.find do |action|\n action.to_s == params[:action_id]\n end\nend\n```\n\nThe controller identifies the action class to execute solely based\non the `params[:action_id]` by searching through all `BaseAction`\ndescendants. It fails to verify whether the requested action is\nactually permitted or registered for the resource context specified\nin the request URL (e.g., `/admin/resources/posts/actions`).\n\nConsequently, an attacker can invoke sensitive actions (e.g.,\n`Avo::Actions::ToggleAdmin`) through an unrelated resource endpoint\n(e.g., `Post`), bypassing the intended resource-action mapping.\n\n### Impact\n\nThis flaw results in significant security risks:\n\n- **Privilege Escalation:** An authenticated user with low privileges\n can execute administrative actions (like toggling admin roles) to\n escalate their own or others' permissions.\n- **Unauthorized Operations:** Actions designed for restricted\n resources can be triggered against any record ID in the database.\n- **Data Integrity Compromise:** Attackers can perform unauthorized\n destructive operations (e.g., Delete, Archive, or Update) on records\n they should not have access to.\n\n### CREDIT\n\nIllunight", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-42205", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00044", "scoring_system": "epss", "scoring_elements": "0.13812", "published_at": "2026-06-05T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-42205" }, { "reference_url": "https://github.com/avo-hq/avo", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/avo-hq/avo" }, { "reference_url": "https://github.com/avo-hq/avo/releases/tag/v3.31.2", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track*", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2026-05-12T12:51:27Z/" } ], "url": "https://github.com/avo-hq/avo/releases/tag/v3.31.2" }, { "reference_url": "https://github.com/avo-hq/avo/security/advisories/GHSA-qc5p-3mg5-9fh8", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3", "scoring_elements": "" }, { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track*", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2026-05-12T12:51:27Z/" } ], "url": "https://github.com/avo-hq/avo/security/advisories/GHSA-qc5p-3mg5-9fh8" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42205", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42205" }, { "reference_url": "https://github.com/advisories/GHSA-qc5p-3mg5-9fh8", "reference_id": "GHSA-qc5p-3mg5-9fh8", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-qc5p-3mg5-9fh8" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/110632?format=api", "purl": "pkg:gem/avo@3.31.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/avo@3.31.2" } ], "aliases": [ "CVE-2026-42205", "GHSA-qc5p-3mg5-9fh8" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-u68f-bw9j-dyh8" } ], "fixing_vulnerabilities": [], "risk_score": "3.1", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/avo@3.24.0" }