Easy Code Snippets - Reflected cross-site scripting (XSS)

Severity pending

Detected by

Fluid Attacks SAST Scanner

Disclosed by

Andres Roldan

Offensive Team, Fluid Attacks

Summary

Full name

Easy Code Snippets 1.0. - Reflected cross-site scripting (XSS)

Code name

State

Private

Release date

Dec 6, 2024

Affected product

Easy Code Snippets

Affected version(s)

Version 1.0.

Vulnerability name

Reflected cross-site scripting (XSS)

Remotely exploitable

No

CVSS v4.0 vector string

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:L/VA:L/SC:L/SI:L/SA:L/E:U

Exploit available

No

Description

Easy Code Snippets 1.0. was found to be vulnerable. The web application dynamically generates web content without validating the source of the potentially untrusted data in myapp/includes/admin/forms/class-wpcs-sn ippet-list.php.

Vulnerability

Skims by Fluid Attacks discovered a Reflected cross-site scripting (XSS) in Easy Code Snippets 1.0.. The following is the output of the tool:

Skims output

 362 | 'page']) && $_GET['page'] == 'ecsnippets-snippets' && $total_snippet >= '5' ) {
 363 | = '<div class=""error settings-error"" id=""setting-error-""><p><strong>'.__( 'You can add maximun five snippets, to add more
 364 | sage;
 365 |
 366 | l = add_query_arg( array(
 367 | nippets-snippets',
 368 | dd-new-snippet'
 369 |
 370 | echo esc_url($new_snippet_Url); ?>"" class=""page-title-action"">
 371 | New Snippet', 'ecsnippets' ); ?>
 372 |
 373 |
 374 |
 375 |
> 376 | en"" name=""page"" value=""<?php echo $_REQUEST['page'] ?>"" />
 377 | ets -->
 378 | stTable->search_box( __( 'Search Snippets', 'ecsnippets' ), 'ecsnippets_ltable_search' ); ?>
 379 | ender the completed list table -->
 380 | stTable->display(); ?>
  381 |
  382 |
      ^ Col 19

Our security policy

We have reserved the ID CVE-2025-22626 to refer to this issue from now on.

Disclosure policy

System Information

  • Version: Easy Code Snippets 1.0.

Mitigation

There is currently no patch available for this vulnerability.


Timeline

Vulnerability discovered

Dec 6, 2024

Public disclosure

Jan 7, 2025

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.