# CVE-2012-4421: The createpost function in wp-includes/class-wp-atom-server.php in WordPress before 3.4.2 does not perform a capability check, which allows…

- Severity: Medium 4.0 (CVSS:2.0, scored by NVD) `AV:N/AC:L/Au:S/C:N/I:P/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.90%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2012-09-14T19:00:00.000Z
- Modified: 2026-06-16T23:44:59.147Z
- Weaknesses: CWE-264
- Assigned by: redhat

## Description

The create_post function in wp-includes/class-wp-atom-server.php in WordPress before 3.4.2 does not perform a capability check, which allows remote authenticated users to bypass intended access restrictions and publish new posts by leveraging the Contributor role and using the Atom Publishing Protocol (aka AtomPub) feature.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- wordpress wordpress: up to 3.4.1; 0.71; 1.0; 1.0.1; 1.0.2; 1.1.1; 1.2; 1.2.1; 1.2.2; 1.2.3; 1.2.4; 1.2.5; and 37 more

## References

- <http://core.trac.wordpress.org/changeset?old_path=%2Ftags%2F3.4.1&old=21780&new_path=%2Ftags%2F3.4.2&new=21780#file2> (exploit, patch)
- <http://openwall.com/lists/oss-security/2012/09/13/4> (mailing-list)
- <http://codex.wordpress.org/Version_3.4.2>

## Sources

- CVE List: [CVE-2012-4421](https://www.cve.org/CVERecord?id=CVE-2012-4421), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2012-4421](https://nvd.nist.gov/vuln/detail/CVE-2012-4421), Public domain, modified 2026-06-16

---

Page: https://cve.day/CVE-2012-4421 · Whole record: https://cve.day/CVE-2012-4421.json · Rebuilt by cve.day 2026-11-25T22:57:13.009Z
