# CVE-2023-1042: SourceCodester Online Pet Shop We App update_status.php cross site scripting

- Severity: Low 3.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/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.56%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-02-26T12:00:47.430Z
- Modified: 2026-06-17T05:26:58.143Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability has been found in SourceCodester Online Pet Shop We App 1.0 and classified as problematic. This vulnerability affects unknown code of the file /pet_shop/admin/orders/update_status.php. The manipulation of the argument oid with the input 1"><script>alert(1111)</script> leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-221800.

(As written by CVE List.)

## Affected

- SourceCodester Online Pet Shop We App: 1.0
- online_pet_shop_we_app_project online_pet_shop_we_app: 1.0

## Every score

- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:3.0 3.5 Low `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`
- 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`

## References

- <https://github.com/hujianjie123/bug_report/blob/main/vendors/oretnom23/Online%20Pet%20Shop%20We%20App/XSS-1.md> (exploit, third-party-advisory)
- <https://vuldb.com/?id.221800> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.221800> (permissions-required, signature)

## Sources

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

---

Page: https://cve.day/CVE-2023-1042 · Whole record: https://cve.day/CVE-2023-1042.json · Rebuilt by cve.day 2026-11-25T22:58:22.152Z
