{"id":"GHSA-4r9g-w48q-8jwm","aliases":["CVE-2022-25849"],"title":"HyperDown vulnerable to Cross-site Scripting","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"MODERATE","description":"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.","severity":"medium","score":6.1,"published":"2022-10-26T12:00:29.000Z","modified":"2023-11-08T04:08:49.074Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"joyqi/hyper-down","sources":[{"name":"OSV · GHSA-4r9g-w48q-8jwm","url":"https://osv.dev/vulnerability/GHSA-4r9g-w48q-8jwm"}],"ranges":[{"events":[{"introduced":"0"},{"last_affected":"2.4.27"}],"type":"ECOSYSTEM"}],"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"],"fixed":[]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-25849","https://github.com/SegmentFault/HyperDown","https://security.snyk.io/vuln/SNYK-PHP-JOYQIHYPERDOWN-2953544"],"sources":[{"name":"OSV","id":"GHSA-4r9g-w48q-8jwm","modified":"2023-11-08T04:08:49.074270Z","url":"https://osv.dev/vulnerability/GHSA-4r9g-w48q-8jwm"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T10:50:31.869Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}