<?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://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-22T19:47:54.347308+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" 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://db.gcve.eu/vuln/fkie_cve-2026-112951</id>
    <title>fkie_cve-2026-112951</title>
    <updated>2026-10-22T19:47:54.602667+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>ApostropheCMS is an open-source Node.js content management system. Prior to 4.34.0, the color field accepts trailing content after a valid rgb() or hsl() prefix because its TinyColor validation does not require the entire value to match a color. An authenticated user with edit rights can store arbitrary HTML after a valid color prefix. When the stored value is rendered, the payload executes, resulting in stored XSS. This issue is fixed in version 4.34.0.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-112951"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-vmgj-9cwm-cf3h</id>
    <title>GHSA-vmgj-9cwm-cf3h — ApostropheCMS: Color field validation bypass allows stored XSS via HTML appended after rgb()/hsl() prefix</title>
    <updated>2026-10-22T19:47:54.607593+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: apostrophe</p>
<p>### Summary
The color field accepts any string that *begins* with a valid `rgb()` / `hsl()` color, because `TinyColor.isValid` does not anchor its match at the end of the string. An authenticated user with edit rights can store arbitrary HTML after a valid color prefix. When the stored value is rendered , the payload executes, resulting in stored XSS.</p>
<p>### Details
Server-side validation of the color field relies on TinyColor:</p>
<p>```js
const { TinyColor } = require('@ctrl/tinycolor');
if (!new TinyColor(value).isValid) throw self.apos.error('invalid');
```</p>
<p>TinyColor's `rgb`/`hsl` matchers are not anchored at the end of the string, while hex matchers are. Tested with @ctrl/tinycolor</p>
<p>| Input | `isValid` |
|---|---|
| `rgb(1,2,3)&lt;img src=x onerror=alert(1)&gt;` | `true` |
| `rgb(1,2,3)&lt;/textarea&gt;&lt;script&gt;alert(1)&lt;/script&gt;` | `true` |
| `hsl(0,100%,50%);--x:1}&lt;/style&gt;&lt;script&gt;alert(1)&lt;/script&gt;` | `true` |
| `#ff0000&lt;img src=x onerror=alert(1)&gt;` | `false` |</p>
<p>The value is saved to MongoDB unchanged (not normalized to hex8).</p>
<p>### Relation to GHSA-97v6-998m-fp4g
GHSA-97v6 addressed CSS custom property injection escaping a `&lt;style&gt;` context. The root cause (validation that accepts trailing content after a valid color) still exists in &lt;= 4.32.2, so [FILL IN: either "the style-tag sink remains exploitable via `&lt;/style&gt;`" OR "a separate HTML sink at X is exploitable"]. Fixing the validation (requiring the full string to be a color, or storing only TinyColor's normalized output) would close bo…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-vmgj-9cwm-cf3h"/>
  </entry>
</feed>
