Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2023-0310: fix: added missing conversion to HTML entities · thorsten/phpMyFAQ@53099a9

Cross-site Scripting (XSS) - Stored in GitHub repository thorsten/phpmyfaq prior to 3.1.10.

CVE
#xss#git#php

@@ -20,6 +20,7 @@

use phpMyFAQ\Date;

use phpMyFAQ\Entity\CommentType;

use phpMyFAQ\Faq;

use phpMyFAQ\Strings;

if (!defined(‘IS_VALID_PHPMYFAQ’)) {

http_response_code(400);

@@ -73,7 +74,7 @@

<td>

<span style="font-weight: bold;">

<a href="mailto:<?= $faqComment->getEmail() ?>">

<?= $faqComment->getUsername() ?>

<?= Strings::htmlentities($faqComment->getUsername()) ?>

</a> |

<?= $date->format(date('Y-m-d H:i’, $faqComment->getDate())) ?> |

<a href="<?php printf(

@@ -84,8 +85,8 @@

) ?>">

<?= $faq->getRecordTitle($faqComment->getRecordId()) ?>

</a>

</span><br/>

<?= $faqComment->getComment() ?>

</span><br>

<?= Strings::htmlentities($faqComment->getComment()) ?>

</td>

</tr>

<?php

Related news

GHSA-9jff-8xmm-mw22: phpMyFAQ Stored Cross-site Scripting vulnerability

Cross-site Scripting (XSS) - Stored in GitHub repository thorsten/phpmyfaq prior to 3.1.10.

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda