logo

321 Lack of data validation - HTML code


Description

It is possible to inject valid HTML code, which could be interpreted by the site receiving the JSON response.


Impact

- Insert character sequences whose semantics result in the creation of new HTML elements, log file injection, remote command execution or insecure file fetching. - Create delivery requests for non-existent QR codes, since the idQR field accepts text strings with random characters.


Recommendation

Validate on the server side the types of data that are entered into different types of fields in the application.


Threat

Unauthorized attacker on the Internet.


Expected Remediation Time

90 minutes.


Score 4.0

Default score using CVSS 4.0. It may change depending on the context of the src.

Base 4.0

  • Attack vector: N
  • Attack complexity: L
  • Attack Requirements: N
  • Privileges required: N
  • User interaction: N
  • Confidentiality (VC): N
  • Integrity (VI): L
  • Availability (VA): N
  • Confidentiality (SC): N
  • Integrity (SI): N
  • Availability (SA): N

Threat 4.0

  • Exploit maturity: X

Requirements


Fixes


Last updated

2024/02/19