# CVE-2021-24431: Language Bar Flags <= 1.0.8 - CSRF to Stored XSS

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/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): 0.48%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-13T17:56:14.000Z
- Modified: 2026-06-17T03:40:00.870Z
- Weaknesses: CWE-79, CWE-352
- Assigned by: WPScan

## Description

The Language Bar Flags WordPress plugin through 1.0.8 does not have any CSRF in place when saving its settings and did not sanitise or escape them when generating the flag bar in the frontend. This could allow attackers to make a logged in admin change the settings, and set Cross-Site Scripting payload in them, which will be executed in the frontend for all users

(As written by CVE List.)

## Affected

- Unknown Language Bar Flags: from 1.0.8 up to 1.0.8
- language_bar_flags_project language_bar_flags: up to 1.0.8

## Every score

- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/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://wpscan.com/vulnerability/ae50cec9-5f80-4221-b6a8-4593ab66c37b> (exploit, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-24431 · Whole record: https://cve.day/CVE-2021-24431.json · Rebuilt by cve.day 2026-11-25T22:58:03.899Z
