# CVE-2019-16332: In the api-bearer-auth plugin before 20190907 for WordPress, the server parameter is not correctly filtered in the swagger-config.yaml.php…

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/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): 5.67%, higher than 93% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-09-15T21:00:40.000Z
- Modified: 2026-06-17T02:22:08.397Z
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

In the api-bearer-auth plugin before 20190907 for WordPress, the server parameter is not correctly filtered in the swagger-config.yaml.php file, and it is possible to inject JavaScript code, aka XSS.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- api_bearer_auth_project api_bearer_auth: before 2019-09-07

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://packetstormsecurity.com/files/154369/WordPress-API-Bearer-Auth-20181229-Cross-Site-Scripting.html> (exploit, third-party-advisory, vdb-entry)
- <https://wpvulndb.com/vulnerabilities/9868> (third-party-advisory)
- <https://plugins.trac.wordpress.org/changeset/2152730> (third-party-advisory)
- <https://wordpress.org/plugins/api-bearer-auth/#developers> (release-notes)

## Sources

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

---

Page: https://cve.day/CVE-2019-16332 · Whole record: https://cve.day/CVE-2019-16332.json · Rebuilt by cve.day 2026-11-25T22:57:46.988Z
