{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-3785","id":"CVE-2021-3785","title":"Cross-site Scripting (XSS) - Stored in yourls/yourls","description":"yourls is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","descriptionLong":"yourls is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","published":"2021-09-15T12:05:13.000Z","updated":"2026-10-20T10:50:08.806653078Z","reserved":"2021-09-09T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"@huntrdev","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"@huntrdev"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"huntr.dev"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":["yourls/yourls"],"affectedProducts":[{"vendor":"yourls","product":"yourls/yourls","defaultStatus":null,"versions":[{"lessThan":"1.8.2","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"yourls/yourls","purl":"pkg:composer/yourls/yourls","ranges":["<1.8.2"],"fixed":["1.8.2"],"advisory":"GHSA-m9fq-c9hp-59g7"}],"cwes":["CWE-79"],"aliases":["GHSA-m9fq-c9hp-59g7"],"references":[{"url":"https://huntr.dev/bounties/b4085d13-54fa-4419-a2ce-1d780cc31638","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/yourls/yourls/commit/1d8e224ebabb8a4c75b97f026950ed710faab0ff","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3785","tags":["advisory"]},{"url":"https://github.com/yourls/yourls","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00721,"epssPercentile":0.54719,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-3785","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3785","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-3785","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m9fq-c9hp-59g7","ok":true,"note":"GHSA-m9fq-c9hp-59g7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-3785","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}