# CVE-2021-38143: An issue was discovered in Form Tools through 3.0.20.

- 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): 1.35%, higher than 72% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-08-31T04:05:12.000Z
- Modified: 2026-06-17T04:01:33.710Z
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

An issue was discovered in Form Tools through 3.0.20. When an administrator creates a customer account, it is possible for the customer to log in and proceed with a change of name and last name. However, these fields are vulnerable to XSS payload insertion, being triggered in the admin panel when the admin tries to see the client list. This type of XSS (stored) can lead to the extraction of the PHPSESSID cookie belonging to the admin.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- formtools core: up to 3.0.20

## 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://bernardofsr.github.io/blog/2021/form-tools/> (exploit, third-party-advisory)
- <https://github.com/bernardofsr/CVEs-With-PoC/blob/main/PoCs/Form%20Tools/README.md> (exploit, third-party-advisory)
- <https://www.formtools.org/> (product, vendor-advisory)
- <https://github.com/formtools/core> (product, third-party-advisory)

## Sources

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

---

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