{"id":"CVE-2021-3785","published":"2021-09-15T12:05:13Z","modified":"2024-08-03T17:09:09Z","title":"Cross-site Scripting (XSS) - Stored in yourls/yourls","vendor":"yourls","product":"yourls/yourls","tier":"tail","description":{"text":"yourls is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00721,"percentile":0.54858,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://huntr.dev/bounties/b4085d13-54fa-4419-a2ce-1d780cc31638","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/yourls/yourls/commit/1d8e224ebabb8a4c75b97f026950ed710faab0ff","tags":["x_refsource_MISC"]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":10.97},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"yourls","affectedVersions":[{"vendor":"yourls","product":"yourls/yourls","versions":[">= unspecified, < 1.8.2"]}],"affected":[{"ecosystem":"Packagist","package":"yourls/yourls","vulnerableRanges":["<1.8.2"],"patched":["1.8.2"],"from":["GHSA-m9fq-c9hp-59g7"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw exists in the yourls/yourls URL shortener, where input is not properly neutralized before being included in generated web pages. An attacker who holds low-privilege authenticated access, with network reachability to the application and no required user interaction, can plant script that is later rendered in other users' sessions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:42:52Z"},"euvd":{"id":"EUVD-2021-2092","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-14537","published":"2019-08-07","fixed":"1.7.4","kev":false},{"cve":"CVE-2020-27388","published":"2020-10-23","fixed":"1.8","kev":false,"link":{"from":"CVE-2020-27388","to":"CVE-2021-3785","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:yourls/yourls","fromFixed":"1.8","toFixed":"1.8.2","daysApart":327}]}},{"cve":"CVE-2021-3785","published":"2021-09-15","fixed":"1.8.2","kev":false},{"cve":"CVE-2026-63135","published":"2026-08-21","fixed":"1.10.4","kev":false},{"cve":"CVE-2026-62858","published":"2026-10-14","fixed":"1.10.5","kev":false}],"package":"Packagist:yourls/yourls"}}