Code Monkey home page Code Monkey logo

Comments (2)

ethicalhack3r avatar ethicalhack3r commented on July 26, 2024

Looks like the issue was patched on 26.02.2020 in version 3.8.1.

The only mention in the changelog was:

Bug fix: Fixed issues on comment form

We are tracking the issue here: https://wpvulndb.com/vulnerabilities/10085

The relevant diffs are below:

--- fruitful/inc/func/comment-inline-error.php	2020-02-26 12:48:58.000000000 +0100
+++ fruitful 2/inc/func/comment-inline-error.php	2020-03-03 16:56:26.000000000 +0100
@@ -31,7 +31,7 @@
                 $denied = array('submit', 'comment_post_ID', 'comment_parent');
                 foreach($_POST as $key => $value){
                     if(!in_array($key, $denied)){
-	                    $_SESSION['formFields'][$key] =  esc_html( $value );
+                        $_SESSION['formFields'][$key] = stripslashes($value);
                     }
                 }
                 session_write_close();
--- fruitful/inc/template-tags.php	2020-02-26 12:48:58.000000000 +0100
+++ fruitful 2/inc/template-tags.php	2020-03-03 16:57:12.000000000 +0100
@@ -96,8 +96,8 @@
 					<em><?php _e( 'Your comment is awaiting moderation.', 'fruitful' ); ?></em>
 					<br />
 				<?php endif; ?>
-
-				<?php echo wp_kses_post( get_comment_text() ); ?>
+				
+				<?php comment_text(); ?>
 				<div class="reply">
 					<?php comment_reply_link( array_merge( $args, array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
 				</div><!-- .reply -->

from fruitful.

lcenine avatar lcenine commented on July 26, 2024

@ethicalhack3r
Hey Ryan!
Where is version 3.8.1 available? I'm getting no response from the Fruitful team :(

from fruitful.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.