{"id":"CVE-2022-25849","aliases":["CVE-2022-25849","GHSA-4r9g-w48q-8jwm"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting (XSS)","summary":"The package joyqi/hyper-down from 0.0.0 are vulnerable to Cross-site Scripting (XSS) because the module of parse markdown does not filter the href attribute very well.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The package joyqi/hyper-down from 0.0.0 are vulnerable to Cross-site Scripting (XSS) because the module of parse markdown does not filter the href attribute very well.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El paquete joyqi/hyper-down a partir de la versión 0.0.0, es vulnerable a un ataque de tipo Cross-site Scripting (XSS) porque el módulo de parse markdown no filtra muy bien el atributo href","source":"nvd"}],"published":"2022-10-26T05:05:09.395Z","modified":"2026-06-17T04:34:23.173Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"0.0.0","fixed":"unspecified","status":"affected"}],"product":"joyqi/hyper-down","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.4.27"}],"ecosystem":"Packagist","package":"joyqi/hyper-down","purl":"pkg:composer/joyqi/hyper-down","source":"ghsa"},{"ranges":[],"vendor":"hyperdown_project","product":"hyperdown","cpe":"cpe:2.3:a:hyperdown_project:hyperdown:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-PHP-JOYQIHYPERDOWN-2953544","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25849","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/SegmentFault/HyperDown","tags":["package"],"sources":["ghsa"]}],"credits":["iohex"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-05-09T19:08:59.744Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25849","url":"https://www.cve.org/CVERecord?id=CVE-2022-25849","licence":"CVE Terms of Use","modified":"2025-05-09T19:09:38.117Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4r9g-w48q-8jwm","url":"https://github.com/advisories/GHSA-4r9g-w48q-8jwm","licence":"CC-BY-4.0","modified":"2023-11-08T04:08:49.074Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25849","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25849","licence":"Public domain","modified":"2026-06-17T04:34:23.173Z"}],"updatedAt":"2026-11-25T22:58:16.012Z","epss":{"score":0.00584,"percentile":0.49277,"date":"2026-12-01T12:00:22.000Z"}}