{"exploit":{"id":"EDB-36347","name":"Hastymail2 - 'rs' Cross-Site Scripting (XSS)","description":"Hastymail2 - 'rs' Cross-Site Scripting (XSS)","cves":["CVE-2011-4541"],"author":"HTrovao","published":"2011-11-22","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/36347","path":"exploits/php/webapps/36347.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-36347.txt","vulnerabilities":[{"id":"CVE-2011-4541","state":"PUBLISHED","title":null,"titleSource":null,"description":"Cross-site scripting (XSS) vulnerability in index.php in Hastymail2 2.1.1 before RC2 allows remote attackers to inject arbitrary web script or HTML via the rs parameter in a mailbox Drafts action.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2011-4541","cvss":{"version":"2.0","baseScore":4.3,"severity":"medium","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2011-4541"},"updatedAt":"2024-08-07T00:09:18.786Z","retrievedAt":"2026-11-27T14:09:37.169Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-36347.png?v=2","url":"https://exploitbin.com/exploits/EDB-36347","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-36347/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-36347/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2011/https://www.securityfocus.com/bid/50789/info\n\nHastymail2 is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data.\n\nAn 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 may allow the attacker to steal cookie-based authentication credentials and launch other attacks.\n\nHastymail2 2.1.1 is vulnerable; other versions may also be affected.\n\n----------------------------------------\n\nGET: http://<app_base>/index.php?page=mailbox&mailbox=Drafts\nPOST: rs=<script>alert(&#039;xss&#039;)</script>","sha256":"9693a1c95d5f942f196b71b1436fbd303b5ae0f818679c3b75203ae21363e440","bytes":680,"fetchedAt":"2026-11-27T14:09:32.043Z","encoding":"utf-8 (display only; download retains original bytes)"}