Skip to content

Commit

Permalink
Security: Fix couple of XSS issues in Installer (#7406)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl authored and thomascube committed Jun 1, 2020
1 parent fe0d97e commit 655cfa5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
@@ -1,6 +1,11 @@
CHANGELOG Roundcube Webmail
===========================

RELEASE 1.3.12
--------------

- Security: Fix couple of XSS issues in Installer (#7406)

RELEASE 1.3.11
--------------
- Enigma: Fix compatibility with Mail_Mime >= 1.10.5
Expand Down
10 changes: 5 additions & 5 deletions installer/test.php
Expand Up @@ -126,7 +126,7 @@
else {
$RCI->fail('DSN (write)', $db_error_msg);
echo '<p class="hint">Make sure that the configured database exists and that the user has write privileges<br />';
echo 'DSN: ' . $RCI->config['db_dsnw'] . '</p>';
echo 'DSN: ' . rcube::Q($RCI->config['db_dsnw']) . '</p>';
}
}
else {
Expand Down Expand Up @@ -261,19 +261,19 @@
<tbody>
<tr>
<td><label for="smtp_server">Server</label></td>
<td><?php echo rcube_utils::parse_host($RCI->getprop('smtp_server', 'localhost')); ?></td>
<td><?php echo rcube::Q(rcube_utils::parse_host($RCI->getprop('smtp_server', 'localhost'))); ?></td>
</tr>
<tr>
<td><label for="smtp_port">Port</label></td>
<td><?php echo $RCI->getprop('smtp_port'); ?></td>
<td><?php echo rcube::Q($RCI->getprop('smtp_port')); ?></td>
</tr>
<tr>
<td><label for="smtp_user">Username</label></td>
<td><?php echo $user; ?></td>
<td><?php echo rcube::Q($user); ?></td>
</tr>
<tr>
<td><label for="smtp_pass">Password</label></td>
<td><?php echo $pass; ?></td>
<td><?php echo rcube::Q($pass); ?></td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit 655cfa5

Please sign in to comment.