{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-63135","id":"CVE-2026-63135","title":"YOURLS: Stored XSS in referrer statistics chart via crafted Referer header","description":"YOURLS is a self-hosted, customizable URL shortener written in PHP. From 1.5.1 until 1.10.4, YOURLS stores the HTTP Referer header through yourls_get_referrer(), yourls_sanitize_url_safe(), and yourls_log_redirect(), then aggregates the value in yourls-infos.php and passes the derived domain through yourls_get_domain(), yourls_stats_pie(), and yourls_google_array_to_data_table(). The chart builder","descriptionLong":"YOURLS is a self-hosted, customizable URL shortener written in PHP. From 1.5.1 until 1.10.4, YOURLS stores the HTTP Referer header through yourls_get_referrer(), yourls_sanitize_url_safe(), and yourls_log_redirect(), then aggregates the value in yourls-infos.php and passes the derived domain through yourls_get_domain(), yourls_stats_pie(), and yourls_google_array_to_data_table(). The chart builder concatenates labels into inline JavaScript without JavaScript-string escaping, so an unauthenticated attacker can poison the statistics of an existing short URL with a crafted referrer. When an administrator or public stats-page viewer opens the affected statistics page, attacker-controlled JavaScript executes in the YOURLS origin and can access admin-visible data, the API signature token, and privileged same-origin actions. This issue is fixed in version 1.10.4.","published":"2026-08-21T20:40:08.199Z","updated":"2026-10-28T02:30:55.402596738Z","reserved":"2026-07-15T16:54:55.817Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["YOURLS"],"affectedProducts":[{"vendor":"YOURLS","product":"YOURLS","defaultStatus":null,"versions":[{"version":">= 1.5.1, < 1.10.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"yourls/yourls","purl":"pkg:composer/yourls/yourls","ranges":[">=1.5.1 <1.10.4"],"fixed":["1.10.4"],"advisory":"GHSA-5h77-88j3-r659"}],"cwes":["CWE-79"],"aliases":["GHSA-5h77-88j3-r659"],"references":[{"url":"https://github.com/YOURLS/YOURLS/security/advisories/GHSA-5h77-88j3-r659","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/YOURLS/YOURLS/pull/4107","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/YOURLS/YOURLS/commit/e1e93476655107e6caab34e52259eb1c91079ec7","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/YOURLS/YOURLS/releases/tag/1.10.4","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63135.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63135","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":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00425,"epssPercentile":0.37543,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-63135","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63135","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-63135","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5h77-88j3-r659","ok":true,"note":"GHSA-5h77-88j3-r659"},{"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-2026-63135","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}