<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-10T00:19:40.577617+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/fkie_cve-2026-63135</id>
    <title>fkie_cve-2026-63135</title>
    <updated>2026-10-10T00:19:41.280383+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>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.</p>
      </div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/fkie_cve-2026-63135"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-5h77-88j3-r659</id>
    <title>GHSA-5h77-88j3-r659 — YOURLS has stored XSS in referrer statistics chart via crafted Referer header</title>
    <updated>2026-10-10T00:19:41.280476+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Packagist: yourls/yourls</p>
<p>### Summary</p>
<p>YOURLS stores the HTTP `Referer` header for short URL redirects and later renders aggregated referrer domains in the per-link statistics page. An unauthenticated attacker can send a crafted `Referer` header to any existing short URL. When an authenticated administrator or stats-page viewer opens that short URL's statistics page, the crafted referrer is embedded into Google Charts JavaScript without JavaScript-string escaping, causing stored cross-site scripting.</p>
<p>This is reachable in default private installations when authenticated users view stats, and in documented configurations where `YOURLS_PRIVATE_INFOS` is set to `false` to make statistics pages public.</p>
<p>### Details</p>
<p>The vulnerable source-to-sink path is:</p>
<p>```text
HTTP Referer header
  -&gt; yourls_get_referrer()
  -&gt; yourls_sanitize_url_safe()
  -&gt; yourls_log_redirect()
  -&gt; log table referrer column
  -&gt; yourls-infos.php referrer aggregation
  -&gt; yourls_get_domain()
  -&gt; yourls_stats_pie()
  -&gt; yourls_google_array_to_data_table()
  -&gt; inline JavaScript
```</p>
<p>Relevant code:</p>
<p>- `includes/functions.php:240-243`: `yourls_get_referrer()` reads `$_SERVER['HTTP_REFERER']`, calls `yourls_sanitize_url_safe()`, and truncates the result to 200 bytes.
- `includes/functions.php:294-307`: `yourls_redirect_shorturl()` calls `yourls_log_redirect()` before redirecting the visitor.
- `includes/functions.php:516-545`: `yourls_log_redirect()` stores the sanitized referrer in the log table.
- `yourls-infos.php:60-82`: the stati…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-5h77-88j3-r659"/>
  </entry>
</feed>
