CVE-2026-1654
Awaiting Analysis Awaiting Analysis - Queue
BaseFortify

Publication date: 2026-02-05

Last updated on: 2026-02-05

Assigner: Wordfence

Description
The Peter's Date Countdown plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the `$_SERVER['PHP_SELF']` parameter in all versions up to, and including, 2.0.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-05
Last Modified
2026-02-05
Generated
2026-05-07
AI Q&A
2026-02-05
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Currently, no data is known.
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

The Peter's Date Countdown plugin for WordPress is vulnerable to Reflected Cross-Site Scripting (XSS) via the $_SERVER['PHP_SELF'] parameter in all versions up to and including 2.0.0. This vulnerability arises because the plugin does not properly sanitize or escape user input, allowing unauthenticated attackers to inject arbitrary web scripts. These scripts can execute if a user is tricked into clicking a malicious link.


How can this vulnerability impact me? :

This vulnerability can allow attackers to execute arbitrary scripts in the context of the affected website. This can lead to theft of user credentials, session hijacking, defacement of the website, or redirection to malicious sites. Since the attack requires tricking a user into clicking a crafted link, it can compromise user trust and the security of user data.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

[{'type': 'paragraph', 'content': "This vulnerability involves Reflected Cross-Site Scripting (XSS) via the `$_SERVER['PHP_SELF']` parameter in the Peter's Date Countdown WordPress plugin versions up to 2.0.0. Detection typically involves checking if the plugin version is vulnerable and testing for reflected script injection in URLs that use the `PHP_SELF` parameter."}, {'type': 'paragraph', 'content': 'One way to detect this vulnerability is to verify the plugin version installed on your WordPress site. If it is version 2.0.0 or earlier, it is vulnerable.'}, {'type': 'paragraph', 'content': 'To test for the vulnerability, you can attempt to inject a simple script payload in the URL path that the plugin uses, for example by crafting a URL like:'}, {'type': 'list_item', 'content': 'http://yourwordpresssite.com/path-to-plugin/datecountdown.php/<script>alert(1)</script>'}, {'type': 'paragraph', 'content': 'If the script executes or is reflected in the page source without proper escaping, the vulnerability is present.'}, {'type': 'paragraph', 'content': 'From a command line, you can use curl or wget to fetch the page and inspect the output for injected script tags:'}, {'type': 'list_item', 'content': 'curl -i "http://yourwordpresssite.com/path-to-plugin/datecountdown.php/<script>alert(1)</script>"'}, {'type': 'list_item', 'content': "grep -i '<script>alert(1)</script>' response.html"}, {'type': 'paragraph', 'content': 'If the script tag appears in the response, the site is vulnerable.'}] [1]


What immediate steps should I take to mitigate this vulnerability?

[{'type': 'paragraph', 'content': "The immediate mitigation step is to update the Peter's Date Countdown plugin to version 2.0.1 or later, which includes a patch that sanitizes the `$_SERVER['PHP_SELF']` and `$_SERVER['HTTP_REFERER']` parameters using proper escaping functions like `esc_attr()`."}, {'type': 'paragraph', 'content': "This update fixes the vulnerability by ensuring that all URLs and user inputs used in the plugin's administrative interface are properly escaped to prevent XSS attacks."}, {'type': 'paragraph', 'content': "If updating immediately is not possible, consider temporarily disabling the plugin or restricting access to the plugin's pages to trusted users only, to reduce the risk of exploitation."}] [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart