{"id":"GHSA-4r9g-w48q-8jwm","summary":"HyperDown vulnerable to Cross-site Scripting","details":"HyperDown is a markdown parser written for the Chinese website SegmentFault. Improper validation of the href attribute allows for Cross-site Scripting. At publication there are no patched versions, and no known workarounds.","aliases":["CVE-2022-25849"],"modified":"2023-11-08T04:08:49.074270Z","published":"2022-10-26T12:00:29Z","database_specific":{"nvd_published_at":"2022-10-26T05:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-10-26T22:42:45Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25849"},{"type":"PACKAGE","url":"https://github.com/SegmentFault/HyperDown"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-PHP-JOYQIHYPERDOWN-2953544"}],"affected":[{"package":{"name":"joyqi/hyper-down","ecosystem":"Packagist","purl":"pkg:composer/joyqi/hyper-down"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.4.27"}]}],"versions":["2.4.10","2.4.13","2.4.14","2.4.15","2.4.16","2.4.17","2.4.18","2.4.19","2.4.20","2.4.21","2.4.23","2.4.24","2.4.25","2.4.26","2.4.27","2.4.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-4r9g-w48q-8jwm/GHSA-4r9g-w48q-8jwm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}