GithubHelp home page GithubHelp logo

Comments (3)

79ho3ein avatar 79ho3ein commented on June 15, 2024

@nicholaszein

from elementor.

nicholaszein avatar nicholaszein commented on June 15, 2024

@79ho3ein this is not the place to submit security reports.

Please use the bounty program.

https://elemn.to/bug-bounty

from elementor.

nicholaszein avatar nicholaszein commented on June 15, 2024

Hello @79ho3ein,

after further investigation we concluded this is neither a security issue, nor something caused by Elementor.

For compatibility reasons, Elementor Pro's Post Comments widget utilizes the same methods any Theme would use to display comments on a document. These methods follow WordPress Coding Standards (WPCS) and use the built-in comments_template() function (see documentation here), which in turns uses the wp_list_comments() function (see documentation here) to render the HTML for each comment.

Since this is part of WordPress Core, it's safe to conclude it does not pose a threat to security, otherwise it would have been long patched by WordPress.

From the code in the ../wp-includes/comment-template.php file (used by wp_list_comments()), more specifically on line 525, you can see that class fetches the $user->nicename which is what you saw in the CSS of the Post Comments widget.

If you are concerned about what classes are added to the comments, you can use the filter add_filter('comment_class') to change the output of comment classes. You can learn more about this filter in this link: https://developer.wordpress.org/reference/hooks/comment_class/.

To avoid compatibility issues, Elementor won't change the output of these classes.

I hope this clarifies your concerns.

Kind regards.

from elementor.

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.