# CVE-2019-16522: The eu-cookie-law plugin through 3.0.6 for WordPress (aka EU Cookie Law (GDPR)) is susceptible to Stored XSS due to improper encoding of se…

- Severity: Medium 4.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/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): 1.03%, higher than 64% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-10-16T14:10:03.000Z
- Modified: 2026-06-17T02:22:21.547Z
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

The eu-cookie-law plugin through 3.0.6 for WordPress (aka EU Cookie Law (GDPR)) is susceptible to Stored XSS due to improper encoding of several configuration options in the admin area and the displayed cookie consent message. This affects Font Color, Background Color, and the Disable Cookie text. An attacker with high privileges can attack other users.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- eu_cookie_law_project eu_cookie_law: up to 3.0.6

## Every score

- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/sbaresearch/advisories/tree/public/2019/SBA-ADV-20190913-01_WordPress_Plugin_EU_Cookie_Law> (exploit, third-party-advisory)
- <https://wordpress.org/plugins/eu-cookie-law/#developers> (product, third-party-advisory)
- <https://wpvulndb.com/vulnerabilities/9918> (third-party-advisory)

## Sources

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

---

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