# CVE-2021-43682: thinkphp-bjyblog (last update Jun 4 2021) is affected by a Cross Site Scripting (XSS) vulnerability in AdminBaseController.class.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): 0.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-02T13:37:13.000Z
- Modified: 2026-06-17T04:11:16.170Z
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

thinkphp-bjyblog (last update Jun 4 2021) is affected by a Cross Site Scripting (XSS) vulnerability in AdminBaseController.class.php. The exit function terminates the script and prints a message to the user that contains $_SERVER['HTTP_HOST'].

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- thinkphp-bjyblog_project thinkphp-bjyblog: no versions given

## 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://github.com/baijunyao/thinkphp-bjyblog/issues/6> (exploit, issue-tracking, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-43682 · Whole record: https://cve.day/CVE-2021-43682.json · Rebuilt by cve.day 2026-11-25T22:24:36.137Z
