{"id":"CVE-2021-25117","aliases":["EUVD-2021-12029","GHSA-5c46-pxg6-m63r"],"status":"published","title":"WP Postratings \u003c 1.86.1 - Admin+ Stored Cross-Site Scripting","description":"The WP-PostRatings WordPress plugin before 1.86.1 does not sanitise the postratings_image parameter from its options page (wp-admin/admin.php?page=wp-postratings/postratings-options.php). Even though the page is only accessible to administrators, and protected against CSRF attacks, the issue is still exploitable when the unfiltered_html capability is disabled.","severity":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.00224,"percentile":0.13187,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-352"],"published":"2024-01-16T15:49:22Z","modified":"2026-06-17T03:41:29Z","products":[{"vendor":"lester ‘gamerz’ chan","product":"wp-postratings"},{"vendor":"lesterchan","product":"wp-postratings"},{"vendor":"unknown","product":"wp-postratings"}],"references":[{"url":"https://wpscan.com/vulnerability/d2d9a789-edae-4ae1-92af-e6132db7efcd/","tags":["exploit","vdb-entry","technical-description","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25117"},{"url":"https://wpscan.com/vulnerability/d2d9a789-edae-4ae1-92af-e6132db7efcd"},{"url":"https://github.com/advisories/GHSA-5c46-pxg6-m63r"}],"sources":{"cve":[{"id":"CVE-2021-25117","title":"WP Postratings \u003c 1.86.1 - Admin+ Stored Cross-Site Scripting","description":"The WP-PostRatings WordPress plugin before 1.86.1 does not sanitise the postratings_image parameter from its options page (wp-admin/admin.php?page=wp-postratings/postratings-options.php). Even though the page is only accessible to administrators, and protected against CSRF attacks, the issue is still exploitable when the unfiltered_html capability is disabled.","status":"published","published":"2024-01-16T15:49:22.142Z","modified":"2025-06-17T14:09:11.308Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"updated_at":"2026-11-02T14:32:59.802172Z"}],"euvd":[{"id":"EUVD-2021-12029","description":"The WP-PostRatings WordPress plugin before 1.86.1 does not sanitise the postratings_image parameter from its options page (wp-admin/admin.php?page=wp-postratings/postratings-options.php). Even though the page is only accessible to administrators, and protected against CSRF attacks, the issue is still exploitable when the unfiltered_html capability is disabled.","status":"published","published":"2024-01-16T15:49:22Z","modified":"2025-06-17T14:09:11Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:32:22.732364Z"}],"ghsa":[{"id":"GHSA-5c46-pxg6-m63r","title":"The WP-PostRatings WordPress plugin before 1.86.1 does not sanitise the postratings_image...","description":"The WP-PostRatings WordPress plugin before 1.86.1 does not sanitise the postratings_image parameter from its options page (wp-admin/admin.php?page=wp-postratings/postratings-options.php). Even though the page is only accessible to administrators, and protected against CSRF attacks, the issue is still exploitable when the unfiltered_html capability is disabled.","status":"published","published":"2024-01-16T18:31:08Z","modified":"2025-06-17T15:31:00Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T15:02:44.519421Z"}],"nvd":[{"id":"CVE-2021-25117","description":"The WP-PostRatings WordPress plugin before 1.86.1 does not sanitise the postratings_image parameter from its options page (wp-admin/admin.php?page=wp-postratings/postratings-options.php). Even though the page is only accessible to administrators, and protected against CSRF attacks, the issue is still exploitable when the unfiltered_html capability is disabled.","status":"published","published":"2024-01-16T16:15:09.213Z","modified":"2026-06-17T03:41:29.427Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:07:08.163458Z"}]}}
