<?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-03T21:50:09.561297+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-72832</id>
    <title>fkie_cve-2026-72832</title>
    <updated>2026-10-03T21:50:09.608496+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Grav versions from 1.5.2 through 2.0.12 contain a stored cross-site scripting vulnerability in the Security::detectXss() function (system/src/Grav/Common/Security.php). The event-handler scan is anchored at `&lt;` and uses `[^&gt;]*?`, which cannot cross the first literal `&gt;`; when a `&gt;` appears inside a quoted attribute value the browser keeps the tag open and parses a subsequent event handler (e.g. onerror), so the detector and browser disagree. A page editor without admin.super privileges can save page content such as `&lt;img src=x title="&gt;" onerror=alert(document.domain)&gt;`, which is accepted, stored, and executed in the site origin when any visitor (including unauthenticated users) views the page. Fixed in 2.0.13.</p>
      </div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/fkie_cve-2026-72832"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-269c-h76q-8cxw</id>
    <title>GHSA-269c-h76q-8cxw — Grav: Stored XSS via quoted-attribute bypass in detectXss</title>
    <updated>2026-10-03T21:50:09.608606+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Packagist: getgrav/grav</p>
<p>### Summary</p>
<p>A page editor without `admin.super` can place an event handler after a `&gt;` inside a quoted attribute. Grav accepts and stores the page, then executes the handler in the application origin when a visitor opens it.</p>
<p>### Details</p>
<p>`Security::detectXss()` (`system/src/Grav/Common/Security.php:253`) anchors the `on_events` scan at `&lt;` and uses `[^&gt;]*?`, which cannot cross the first literal `&gt;`. When that character is inside a quoted value, the browser keeps the tag open and parses the later `onerror` attribute, so the detector and browser disagree. `AdminController::savePage()` relies on this detector when saving content from page editors outside the `admin.super` whitelist.</p>
<p>### PoC</p>
<p>I reproduced this with `getgrav/grav` 2.0.11 (`ad9709f865b09b68798fb1ac375b484a8cc1d892`), Admin 1.10.52, and Quark 2 1.1.4.</p>
<p>1. Sign in as a user with `admin.login` and `admin.pages`, but without `admin.super`.
2. Create or edit `/xsstest` and save this page body:</p>
<p>```html
&lt;img src=x title="&gt;" onerror=alert(document.domain)&gt;
```</p>
<p>3. Open `/xsstest` in a private browser window.</p>
<p>The save succeeds and the visitor sees an alert containing the site domain. With the body changed to `&lt;img src=x onerror=alert(1)&gt;`, the same endpoint rejects it with `XSS issue detected` and does not store it.</p>
<p>### Impact</p>
<p>A page editor can execute JavaScript in the origin of every user who views the stored page, including unauthenticated visitors.</p>
<p>### Anticipated objection and response</p>
<p>Although the `detectXss…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-269c-h76q-8cxw"/>
  </entry>
</feed>
