{"id":"GHSA-r4jg-5v89-9v62","summary":"Withdrawn: Octocat.js vulnerable to code injection","details":"## Withdrawn\n\nThis advisory has been withdrawn because it is a test.\n\n## Original Description\n\n### Impact\nUsers can include their own images for accessories via provided URLs. These URLs are not validated and can result in execution of injected code.\n\n### Patches\nThis vulnerability was fixed in version 1.2 of octocat.js\n\n### Workarounds\nDirectly exposing rendered images to a website can introduce the vulnerability to users. To avoid, writing an image to disk then using that image in an image element in HTML mitigates the risk.\n\n### References\nTo render the file correctly, see documentation at `readme.md`\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [the octo.js repository](http://github.com/octocademy/octocat.js/issues)\n","aliases":["CVE-2022-39390"],"modified":"2026-09-10T03:49:47.196208767Z","published":"2022-11-08T20:48:49Z","withdrawn":"2022-11-09T22:35:46Z","database_specific":{"github_reviewed_at":"2022-11-08T20:48:49Z","nvd_published_at":"2022-11-09T01:15:00Z","cwe_ids":["CWE-74","CWE-94"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/octocademy/octocat.js/security/advisories/GHSA-r4jg-5v89-9v62"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39390"},{"type":"PACKAGE","url":"https://github.com/octocademy/octocat.js"}],"affected":[{"package":{"name":"octocat.js","ecosystem":"npm","purl":"pkg:npm/octocat.js"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-r4jg-5v89-9v62/GHSA-r4jg-5v89-9v62.json"}}],"schema_version":"1.9.0"}