<?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-08T01:48:09.742740+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/bdu:2025-16482</id>
    <title>bdu:2025-16482</title>
    <updated>2026-10-08T01:48:09.792276+00:00</updated>
    <content>bdu:2025-16482</content>
    <link href="https://vulnerability.circl.lu/vuln/bdu:2025-16482"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/fkie_cve-2025-59526</id>
    <title>fkie_cve-2025-59526</title>
    <updated>2026-10-08T01:48:09.792355+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>mailgen is a Node.js package that generates responsive HTML e-mails for sending transactional mail. Prior to version 2.0.30, there is an HTML injection vulnerability in plaintext e-mails generated by Mailgen. Projects are affected if the Mailgen.generatePlaintext(email) method is used and given user-generated content. This vulnerability has been patched in version 2.0.30. A workaround involves stripping all HTML tags before passing any content into Mailgen.generatePlaintext(email).</p>
      </div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/fkie_cve-2025-59526"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-j2xj-h7w5-r7vp</id>
    <title>GHSA-j2xj-h7w5-r7vp — Mailgen: HTML injection vulnerability in plaintext e-mails</title>
    <updated>2026-10-08T01:48:09.792422+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: mailgen</p>
<p># HTML Injection and XSS Filter Bypass in Plaintext Emails</p>
<p>### Summary
An HTML injection vulnerability in plaintext emails generated by Mailgen has been discovered. Your project is affected if you use the `Mailgen.generatePlaintext(email);` method and pass in user-generated content. The issue was discovered and reported by Edoardo Ottavianelli (@edoardottt).</p>
<p>### Vulnerability Analysis
The following function (inside `index.js`) is intended to strip all HTML content to produce a plaintext string.</p>
<p>```javascript
// Plaintext text e-mail generator
Mailgen.prototype.generatePlaintext = function (params) {
    // Plaintext theme not cached?
    if (!this.cachedPlaintextTheme) {
        throw new Error('An error was encountered while loading the plaintext theme.');
    }
   
    // Parse email params and get back an object with data to inject
    var ejsParams = this.parseParams(params);</p>
<p>// Render the plaintext theme with ejs, injecting the data accordingly
    var output = ejs.render(this.cachedPlaintextTheme, ejsParams);</p>
<p>// Definition of the &lt;br /&gt; tag as a regex pattern
    var breakTag = /(?:\&lt;br\s*\/?\&gt;)/g;
    var breakTagPattern = new RegExp(breakTag);</p>
<p>// Check the plaintext for html break tag, maintains backwards compatiblity
    if (breakTagPattern.test(this.cachedPlaintextTheme)) {
        // Strip all linebreaks from the rendered plaintext
        output = output.replace(/(?:\r\n|\r|\n)/g, '');</p>
<p>// Replace html break tags with linebreaks…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-j2xj-h7w5-r7vp"/>
  </entry>
</feed>
